def on_choose():
            """Handles choice for the waypoints dropdown choice button."""
            choice = self.waypointsChoiceButton.value
            waypoint = self.waypointManager.waypoints[choice]
            gotoPanel.X, gotoPanel.Y, gotoPanel.Z = map(int, waypoint[0:3])
Handles choice for the waypoints dropdown choice button.
leveleditor.py