if key == "UP" then zoom = zoom + 1 if zoom > max_zoom then zoom = max_zoom end set_zoom(zoom) end