# Flightplans {{< callout context="caution" title="IMPORTANT!" icon="outline/alert-triangle" >}} GPS variables are **deprecated** in Microsoft Flight Simulator 2024. For more information, please see the [GPS Vars In MSFS 2024](../gps-variables-legacy/#gps-vars-in-msfs-2024) section. {{< /callout >}} The tables below indicate the requirements for the [GPS Variables](../gps-variables-legacy/) that can be used to get and set the different GPS properties associated with Flightplans. You can find a complete index of all available GPS Vars here: [GPSVar Index](../gps-variables-legacy/#index) ### General {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanTitle" />}}`FlightPlanTitle` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanDescription" />}}`FlightPlanDescription` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanIsActiveFlightPlan" />}}`FlightPlanIsActiveFlightPlan` | Boolean | {{< check/bad >}} | | {{< anchor id="FlightPlanIsLoadedApproach" />}}`FlightPlanIsLoadedApproach` | Boolean | {{< check/bad >}} | | {{< anchor id="FlightPlanIsActiveApproach" />}}`FlightPlanIsActiveApproach` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanIsActiveWaypoint" />}}`FlightPlanIsActiveWaypoint` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanIsDirectTo" />}}`FlightPlanIsDirectTo` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanDirectToWaypoint" />}}`FlightPlanDirectToWaypoint` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanActiveWaypoint" />}}`FlightPlanActiveWaypoint` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanIsActiveWaypointLocked" />}}`FlightPlanIsActiveWaypointLocked` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanWaypointsNumber" />}}`FlightPlanWaypointsNumber` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanRouteType" />}}`FlightPlanRouteType` | Enum:{{< params/smallfont >}}`DIRECT` (0)`VOR` (1)`LOWALT` (2)`HIGHALT` (3){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanFlightPlanType" />}}`FlightPlanFlightPlanType` | Enum:{{< params/smallfont >}}`NONE` (0)`VFR` (1)`IFR` (2){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanCruisingAltitude" />}}`FlightPlanCruisingAltitude` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanDirectToDestination" />}}`FlightPlanDirectToDestination` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanCancelDirectTo" />}}`FlightPlanCancelDirectTo` | Boolean | {{< check/good >}} | {{< /table-wrapper >}} ### Departure {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanDepartureAirportIdent" />}}`FlightPlanDepartureAirportIdent` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanDepartureName" />}}`FlightPlanDepartureName` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanDepartureLatitude" />}}`FlightPlanDepartureLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanDepartureLongitude" />}}`FlightPlanDepartureLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanDepartureAltitude" />}}`FlightPlanDepartureAltitude` | Meters | {{< check/bad >}} | {{< /table-wrapper >}} ### Destination {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanDestinationAirportident" />}}`FlightPlanDestinationAirportident` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanDestinationName" />}}`FlightPlanDestinationName` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanDestinationLatitude" />}}`FlightPlanDestinationLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanDestinationLongitude" />}}`FlightPlanDestinationLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanDestinationAltitude" />}}`FlightPlanDestinationAltitude` | Meters | {{< check/bad >}} | {{< /table-wrapper >}} ### Alternate {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanAlternateAirportIdent" />}}`FlightPlanAlternateAirportIdent` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanAlternateName" />}}`FlightPlanAlternateName` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanAlternateLatitude" />}}`FlightPlanAlternateLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanAlternateLongitude" />}}`FlightPlanAlternateLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanAlternateAltitude" />}}`FlightPlanAlternateAltitude` | Meters | {{< check/bad >}} | {{< /table-wrapper >}} ### Approach {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanNewApproachAirport" />}}`FlightPlanNewApproachAirport` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanNewApproachApproach" />}}`FlightPlanNewApproachApproach` | Number | {{< check/good >}} | | {{< anchor id="FlightPlanNewApproachTransition" />}}`FlightPlanNewApproachTransition` | Number | {{< check/good >}} | | {{< anchor id="FlightPlanNewApproachMissed" />}}`FlightPlanNewApproachMissed` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanNewApproachAddInitialLeg" />}}`FlightPlanNewApproachAddInitialLeg` | Enum:{{< params/smallfont >}}`GPS_APPROACH_LOAD_ONLY` (1)`GPS_APPROACH_LOAD_ACTIVATE` (2)`GPS_APPROACH_ACTIVATE_VECTORS` (3){{< /params/smallfont >}} | {{< check/good >}} | | {{< anchor id="FlightPlanLoadApproach" />}}`FlightPlanLoadApproach` | Boolean | {{< check/good >}} | | {{< anchor id="FlightPlanApproachWaypointType" />}}`FlightPlanApproachWaypointType` | Enum:{{< params/smallfont >}}`NONE` (0)`FIX` (1)`PROC_TURN_LEFT` (2)`PROC_TURN_RIGHT` (3)`DME_ARC_LEFT` (4)`DME_ARC_RIGHT` (5)`HOLDING_LEFT` (6)`HOLDING_RIGHT` (7)`DISTANCE` (8)`ALTITUDE` (9)`MANUAL_SEQ` (10)`VECTORS_TO_FINAL` (11){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachMode" />}}`FlightPlanApproachMode` | Enum:{{< params/smallfont >}}`NONE` (0)`TRANSITION` (1)`FINAL` (2)`MISSED` (3){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachSegmentType" />}}`FlightPlanApproachSegmentType` | Enum:{{< params/smallfont >}}`SEGMENT_LINE` (0)`SEGMENT_ARC_CW` (1)`SEGMENT_ARC_CCW` (2){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachSegmentDistance" />}}`FlightPlanApproachSegmentDistance` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachSegmentLength" />}}`FlightPlanApproachSegmentLength` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachIsWaypointRunway" />}}`FlightPlanApproachIsWaypointRunway` | Boolean | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachAirportIdent" />}}`FlightPlanApproachAirportIdent` | Runway | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachIndex" />}}`FlightPlanApproachIndex` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachName" />}}`FlightPlanApproachName` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachTransitionIndex" />}}`FlightPlanApproachTransitionIndex` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachTransitionName" />}}`FlightPlanApproachTransitionName` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanIsApproachFinal" />}}`FlightPlanIsApproachFinal` | Boolean | {{< check/bad >}} | | {{< anchor id="FlightPlanIsApproachMissed" />}}`FlightPlanIsApproachMissed` | Boolean | {{< check/bad >}} | | {{< anchor id="FlightPlanActiveApproachWaypoint" />}}`FlightPlanActiveApproachWaypoint` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachWaypointsNumber" />}}`FlightPlanApproachWaypointsNumber` | Number | {{< check/bad >}} | | {{< anchor id="FlightPlanApproachType" />}}`FlightPlanApproachType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`VFR` (1)`HEL` (2)`TACAN` (3)`NDB` (4)`LORAN` (5)`RNAV` (6)`VOR` (7)`GPS` (8)`SDF` (9)`LDA` (10)`LOC` (11)`MLS` (12)`ILS` (13){{< /params/smallfont >}} | {{< check/bad >}} | {{< /table-wrapper >}} ### Waypoint {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanAddWaypoint" />}}`FlightPlanAddWaypoint` | Number | {{< check/good >}} | | {{< anchor id="FlightPlanDeleteWaypoint" />}}`FlightPlanDeleteWaypoint` | Number | {{< check/good >}} | | {{< anchor id="FlightPlanWaypointIndex" />}}`FlightPlanWaypointIndex` | Number | {{< check/good >}} | | {{< anchor id="FlightPlanWaypointLatitude" />}}`FlightPlanWaypointLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointLongitude" />}}`FlightPlanWaypointLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointAltitude" />}}`FlightPlanWaypointAltitude` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointICAO" />}}`FlightPlanWaypointICAO` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointIdent" />}}`FlightPlanWaypointIdent` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointAirwayIdent" />}}`FlightPlanWaypointAirwayIdent` | String | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointType" />}}`FlightPlanWaypointType` | Enum:{{< params/smallfont >}}`NONE` (0)`AIRPORT` (1)`INTERSECTION` (2)`VOR` (3)`NDB` (4)`USER` (5)`ATC` (6){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointMinAltitude" />}}`FlightPlanWaypointMinAltitude` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointFrequency" />}}`FlightPlanWaypointFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointMagneticHeading" />}}`FlightPlanWaypointMagneticHeading` | Degrees | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointSpeedEstimate" />}}`FlightPlanWaypointSpeedEstimate` | Meters per Second | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointDistance" />}}`FlightPlanWaypointDistance` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointDistanceTotal" />}}`FlightPlanWaypointDistanceTotal` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointDistanceRemaining" />}}`FlightPlanWaypointDistanceRemaining` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointRemainingDistance" />}}`FlightPlanWaypointRemainingDistance` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointRemainingTotalDistance" />}}`FlightPlanWaypointRemainingTotalDistance` | Meters | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointTimeZoneDeviation" />}}`FlightPlanWaypointTimeZoneDeviation` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointETE" />}}`FlightPlanWaypointETE` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointET" />}}`FlightPlanWaypointET` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointATE" />}}`FlightPlanWaypointATE` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointAT" />}}`FlightPlanWaypointAT` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointEstimatedTimeRemaining" />}}`FlightPlanWaypointEstimatedTimeRemaining` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointETA" />}}`FlightPlanWaypointETA` | Seconds | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointFuelRemainedAtArrival" />}}`FlightPlanWaypointFuelRemainedAtArrival` | Gallons | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointEstimatedFuelConsumption" />}}`FlightPlanWaypointEstimatedFuelConsumption` | Gallons | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointActualFuelConsumption" />}}`FlightPlanWaypointActualFuelConsumption` | Gallons | {{< check/bad >}} | {{< /table-wrapper >}} ### Waypoint Approach {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanWaypointApproachIndex" />}}`FlightPlanWaypointApproachIndex` | Number | {{< check/good >}} | | {{< anchor id="FlightPlanWaypointApproachType" />}}`FlightPlanWaypointApproachType` | Enum:{{< params/smallfont >}}`NONE` (0)`FIX` (1)`PROC_TURN_LEFT` (2)`PROC_TURN_RIGHT` (3)`DME_ARC_LEFT` (4)`DME_ARC_RIGHT` (5)`HOLDING_LEFT` (6)`HOLDING_RIGHT` (7)`DISTANCE` (8)`ALTITUDE` (9)`MANUAL_SEQ` (10)`VECTORS_TO_FINAL` (11){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointApproachMode" />}}`FlightPlanWaypointApproachMode` | Enum:{{< params/smallfont >}}`NONE` (0)`TRANSITION` (1)`FINAL` (2)`MISSED` (3){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="FlightPlanWaypointApproachName" />}}`FlightPlanWaypointApproachName` | String | | | {{< anchor id="FlightPlanWaypointApproachICAO" />}}`FlightPlanWaypointApproachICAO` | String | | | {{< anchor id="FlightPlanWaypointApproachLatitude" />}}`FlightPlanWaypointApproachLatitude` | Degrees | | | {{< anchor id="FlightPlanWaypointApproachLongitude" />}}`FlightPlanWaypointApproachLongitude` | Degrees | | | {{< anchor id="FlightPlanWaypointApproachAltitude" />}}`FlightPlanWaypointApproachAltitude` | Meters | | | {{< anchor id="FlightPlanWaypointApproachTarget" />}}`FlightPlanWaypointApproachTarget` | Meters | | | {{< anchor id="FlightPlanWaypointApproachLegDistance" />}}`FlightPlanWaypointApproachLegDistance` | Meters | | | {{< anchor id="FlightPlanWaypointApproachLegTotalDistance" />}}`FlightPlanWaypointApproachLegTotalDistance` | Meters | | | {{< anchor id="FlightPlanWaypointApproachLegFromDistance" />}}`FlightPlanWaypointApproachLegFromDistance` | Meters | | | {{< anchor id="FlightPlanWaypointApproachRemainingDistance" />}}`FlightPlanWaypointApproachRemainingDistance` | Meters | | | {{< anchor id="FlightPlanWaypointApproachRemainingTotalDistance" />}}`FlightPlanWaypointApproachRemainingTotalDistance` | Meters | | | {{< anchor id="FlightPlanWaypointApproachCourse" />}}`FlightPlanWaypointApproachCourse` | Degrees | | {{< /table-wrapper >}} ### New Waypoint {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FlightPlanNewWaypointLatitude" />}}`FlightPlanNewWaypointLatitude` | Degrees | {{< check/good >}} | | {{< anchor id="FlightPlanNewWaypointLongitude" />}}`FlightPlanNewWaypointLongitude` | Degrees | {{< check/good >}} | | {{< anchor id="FlightPlanNewWaypointIdent" />}}`FlightPlanNewWaypointIdent` | String | {{< check/good >}} | | {{< anchor id="FlightPlanNewWaypointICAO" />}}`FlightPlanNewWaypointICAO` | String | {{< check/good >}} | {{< /table-wrapper >}}