A Python utility to teleport your aircraft to any location in Microsoft Flight Simulator 2024 using SimConnect.
- Instantly teleport your aircraft to any GPS coordinates
- Set custom altitude (meters above sea level)
- Simple and lightweight script
- Maintains connection to keep position
- Microsoft Flight Simulator 2024
- Python 3.13 or higher
- uv - Fast Python package manager
# Clone the repository
git clone https://github.com/judenimo/MSFS2024-Teleport.git
cd MSFS2024-Teleport
# Install dependencies
uv sync-
Start Microsoft Flight Simulator 2024 and load into a flight
-
Edit the target coordinates in
main.py:target_latitude = 37.82684 # Latitude in decimal degrees target_longitude = -122.457738 # Longitude in decimal degrees altitude = 1400 # Altitude in meters (MSL)
-
Run the script:
uv run main.py
Note: If you prefer to run with
python main.pydirectly or use VS Code's Run/Debug features, make sure to select the Python interpreter from the.venvfolder created by uv. In VS Code, pressCtrl+Shift+P→ "Python: Select Interpreter" → choose the.venvinterpreter. -
Your aircraft will be teleported to the specified location!
-
Press
Ctrl+Cto stop the script and disconnect.
| Location | Latitude | Longitude | Suggested Altitude |
|---|---|---|---|
| Golden Gate Bridge, SF | 37.82684 | -122.457738 | 1400m |
| Eiffel Tower, Paris | 48.8584 | 2.2945 | 500m |
| Mount Everest | 27.9881 | 86.9250 | 9000m |
| Statue of Liberty, NYC | 40.6892 | -74.0445 | 300m |
| Sydney Opera House | -33.8568 | 151.2153 | 500m |
The script uses the SimConnect Python library to interface with MSFS2024's SimConnect API. It establishes a connection to the simulator and uses the set_pos() method to update the aircraft's position.
- "Failed to connect": Make sure MSFS2024 is running and you're loaded into a flight
- Connection errors: Ensure SimConnect is properly installed with your MSFS2024 installation
- Position not updating: The simulator must be unpaused for teleportation to work
MIT License
Contributions are welcome! Feel free to open issues or submit pull requests.