The table below indicates the properties for the Simulation Variables that can be used to get and set properties related to the autopilot of an aircraft. For information on the units listed for each variable, please see here: Simulation Variable Units

You can find a complete index of all available SimVars here: SimVar Index

Autopilot

IMPORTANT!
Most of the the SimVars listed here are not applicable - and will not work correctly (if at all) - when used with a helicopter. The only ones that can be used are as follows:
Simulation VariableIndexDescriptionUnitsSettable
AUTOPILOT AIRSPEED ACQUISITIONN/ACurrently not used within the simulation.Bool
AUTOPILOT AIRSPEED HOLDN/Areturns whether airspeed hold is active (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT AIRSPEED HOLD CURRENTN/ACurrently not used within the simulation.Bool
AUTOPILOT AIRSPEED HOLD VARN/AReturns the target holding airspeed for the autopilot.Knots
AUTOPILOT AIRSPEED MAX CALCULATEDN/AReturns the maximum calculated airspeed (kcas) limit set for the autopilot.Knots
AUTOPILOT AIRSPEED MIN CALCULATEDN/AReturns the minimum calculated airspeed (kcas) limit set for the autopilot.Knots
AUTOPILOT ALT RADIO MODEN/AIf enabled the Autopilot will use the Radio Altitude rather than the Indicated Altitude.Bool
AUTOPILOT ALTITUDE ARMN/AReturns whether the autopilot is in Altitude Arm mode (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT ALTITUDE LOCKN/AAltitude hold activeCan be used by helicopters.Bool
AUTOPILOT ALTITUDE LOCK VARN/ASet or get the slot index which the altitude hold mode will track when captured. See alt_mode_slot_index for more information.Feet (ft)
AUTOPILOT ALTITUDE MANUALLY TUNABLEN/AWhether or not the autopilot altitude is manually tunable or not.Bool
AUTOPILOT ALTITUDE SLOT INDEXN/AIndex of the slot that the autopilot will use for the altitude reference. Note that there are 3 slots (1, 2, 3) that you can set/get normally, however you can also target slot index 0. Writing to slot 0 will overwrite all other slots with the slot 0 value, and by default the autopilot will follow slot 0 if you have not selected any slot index.See alt_mode_slot_index for more information.Number
AUTOPILOT APPROACH ACTIVEN/AWhen true, the autopilot is currently flying the approach Flight Plan (the last legs).Bool
AUTOPILOT APPROACH ARMN/AReturns true when the autopilot is active on the approach, once it reaches the adequate condition (in most cases, once it reaches the second-last waypoint of the flightplan).Bool
AUTOPILOT APPROACH CAPTUREDN/AReturns true when the lateral NAV mode is engaged and the angular deviation with the current tuned navigation frequency is less than 5°.Bool
AUTOPILOT APPROACH HOLDN/AReturns whether approach mode is active (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT APPROACH IS LOCALIZERN/AReturns true if the current approach is using a localiser.Bool
AUTOPILOT ATTITUDE HOLDN/AAttitude hold activeCan be used by helicopters.Bool
AUTOPILOT AVAILABLEN/AAvailable flagBool
AUTOPILOT AVIONICS MANAGEDN/AReturns whether the autopilot has active managed avionics (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT BACKCOURSE HOLDN/AReturns whether the autopilot back course mode is active (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT BANK HOLDN/AReturns whether the autopilot bank hold mode is active (1, TRUE) or not (0, FALSE).Can be used by helicopters.Bool
AUTOPILOT BANK HOLD REFN/AThe current bank-hold bank reference.Note that if you set this, the next frame the value will be overwritten by the engine, so you may need to write to this every game frame to ensure it maintains the required value.Can be used by helicopters.Degrees
AUTOPILOT CRUISE SPEED HOLDN/ACurrently not used within the simulation.Bool
AUTOPILOT DEFAULT PITCH MODEN/AThe current default pitch mode of the autopilot as configured in the plane configuration with the parameter default_pitch_mode.Enum:0 = None1 = Pitch2 = Altitude Hold3 = Vertical Speed
AUTOPILOT DEFAULT ROLL MODEN/AThe current default roll mode of the autopilot as configured in the plane configuration with the parameter default_bank_mode.Enum:0 = None1 = Wing Leveler2 = Heading3 = Roll Hold
AUTOPILOT DISENGAGEDN/AReturns whether the autopilot has been disengaged (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT FLIGHT DIRECTOR ACTIVEN/AFlight director activeBool
AUTOPILOT FLIGHT DIRECTOR BANKN/AReference bank angleRadians
AUTOPILOT FLIGHT DIRECTOR BANK EX1N/ARaw reference bank angleRadians
AUTOPILOT FLIGHT DIRECTOR PITCHN/AReference pitch angleRadians
AUTOPILOT FLIGHT DIRECTOR PITCH EX1N/ARaw reference pitch angleRadians
AUTOPILOT FLIGHT LEVEL CHANGEN/ABoolean, toggles the autopilot Flight Level Change modeBool
AUTOPILOT GLIDESLOPE ACTIVEN/AWhen true, the autopilot is receiving a signal from the runway beacon and is following the slope to reach the ground.Bool
AUTOPILOT GLIDESLOPE ARMN/AReturns true when the autopilot is active on the glide slope.Bool
AUTOPILOT GLIDESLOPE HOLDN/AReturns whether the autopilot glideslope hold is active (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT HEADING LOCKN/AReturns whether the autopilot heading lock is enabled (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT HEADING LOCK DIRN/ASpecifies / Returns the locked in heading for the autopilot.Degrees
AUTOPILOT HEADING MANUALLY TUNABLEN/AWhether or not the autopilot heading is manually tunable or not.Bool
AUTOPILOT HEADING SLOT INDEXN/AIndex of the slot that the autopilot will use for the heading reference. Note that there are 3 slots (1, 2, 3) that you can set/get normally, however you can also target slot index 0. Writing to slot 0 will overwrite all other slots with the slot 0 value, and by default the autopilot will follow slot 0 if you have not selected any slot index.Number
AUTOPILOT MACH HOLDN/AMach hold activeBool
AUTOPILOT MACH HOLD VARN/AReturns the target holding mach airspeed for the autopilot.Number
AUTOPILOT MANAGED INDEXN/ACurrently not used within the simulation.Number
AUTOPILOT MANAGED SPEED IN MACHN/AReturns whether the managed speed is in mach (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT MANAGED THROTTLE ACTIVEN/AReturns whether the autopilot managed throttle is active (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT MASTERN/AOn/off flagBool
AUTOPILOT MAX BANKN/AReturns the maximum banking angle for the autopilot, in radians.Radians
AUTOPILOT MAX BANK IDN/AReturns the index of the current maximum bank setting of the autopilot.Integer
AUTOPILOT MAX SPEED HOLDN/ACurrently not used within the simulation.Bool
AUTOPILOT NAV1 LOCKN/AReturns TRUE (1) if the autopilot Nav1 lock is applied, or 0 (FALSE) otherwise.Bool
AUTOPILOT NAV SELECTEDN/AIndex of Nav radio selectedNumber
AUTOPILOT PITCH HOLDN/ASet to True if the autopilot pitch hold has is engaged.Can be used by helicopters.Bool
AUTOPILOT PITCH HOLD REFN/AReturns the current autotpilot reference pitch.Can be used by helicopters.Radians
AUTOPILOT RPM HOLDN/ATrue if autopilot rpm hold appliedBool
AUTOPILOT RPM HOLD VARN/ASelected rpmNumber
AUTOPILOT RPM SLOT INDEXN/AIndex of the slot that the autopilot will use for the RPM reference. Note that there are 3 slots (1, 2, 3) that you can set/get normally, however you can also target slot index 0. Writing to slot 0 will overwrite all other slots with the slot 0 value, and by default the autopilot will follow slot 0 if you have not selected any slot index.Number
AUTOPILOT SPEED SETTINGN/ACurrently not used within the simulation.Knots
AUTOPILOT SPEED SLOT INDEXN/AIndex of the managed referencesNumber
AUTOPILOT TAKEOFF POWER ACTIVEN/ATakeoff / Go Around power mode activeBool
AUTOPILOT THROTTLE ARMN/AReturns whether the autopilot auto-throttle is armed (1, TRUE) or not (0, FALSE).Bool
AUTOPILOT THROTTLE MAX THRUSTN/AThis can be used to set/get the thrust lever position for autopilot maximum thrust.Percent
AUTOPILOT VERTICAL HOLDN/ATrue if autopilot vertical hold appliedBool
AUTOPILOT VERTICAL HOLD VARN/ASelected vertical speedFeet (ft)/minute
AUTOPILOT VS SLOT INDEXN/AIndex of the slot that the autopilot will use for the VS reference. Note that there are 3 slots (1, 2, 3) that you can set/get normally, however you can also target slot index 0. Writing to slot 0 will overwrite all other slots with the slot 0 value, and by default the autopilot will follow slot 0 if you have not selected any slot index.Number
AUTOPILOT WING LEVELERN/AWing leveler activeCan be used by helicopters.Bool
AUTOPILOT YAW DAMPERN/AYaw damper activeCan be used by helicopters.Bool

Aircraft Assistance

Simulation VariableIndexDescriptionUnitsSettable
ASSISTANCE LANDING ENABLEDN/AReturns whether landing assistance has been enabled or not.Bool
ASSISTANCE TAKEOFF ENABLEDN/AReturns whether takeoff assistance has been enabled or not.Bool
 

AI Aircraft / Pilot

The following SimVars are used to get information about the AI pilot:

Simulation VariableIndexDescriptionUnitsSettable
AI ANTISTALL STATEN/AThe current state of the AI anti-stall system.Enum:0 = Active1 = Stabilizing2 = Inactive
AI AUTOTRIM ACTIVEN/AReturns whether the AI auto-trim system is enabled or not.Bool
AI AUTOTRIM ACTIVE AGAINST PLAYERN/AReturns whether the AI auto-trim system is enabled or not for AI controlled aircraft.Bool
AI CONTROLSN/AReturns whether the AI control system is enabled or not.Bool
AI CURSOR MODE ACTIVEN/AReturns whether the AI cursor mode is active or not.Bool
DELEGATE CONTROLS TO AIN/AReturns whether the AI control system is active or not.Bool

Flight Assistant

The flight assistant panel is a panel that the user can open in the Microsoft Flight Simulator 2024 UI. this panel lets the user set a destination in-sim among nearest Airports, POI, Cities, etc… as well as give information on some design speeds of the aircraft or turn on / off some assistances.

Simulation VariableDescriptionUnitsSettable
FLY ASSISTANT CANCEL DESTINATIONN/AWhen set with any value this will cancel the current flight assistant destination.No longer used in the simulation.Number
FLY ASSISTANT CANCEL DESTINATION DISPLAYN/AWhen set with any value this will cancel the display of the current flight assistant destination.No longer used in the simulation.Number
FLY ASSISTANT COM AI LOCKEDN/AReturns true when the copilot AI control is active and therefore COM AI is locked on active too.No longer used in the simulation.Bool
FLY ASSISTANT HAVE DESTINATIONN/AReturns true when a destination has been set in the flight assistant.No longer used in the simulation.Bool
FLY ASSISTANT LANDING SPEEDN/AReturns the POH range or an estimated value for this speed.No longer used in the simulation.String(max 32 chars)
FLY ASSISTANT LANDING SPEED DISPLAY MODEN/AReturns the display mode of the speed, CSS side (only STALL SPEED is working and will turn red when below).No longer used in the simulation.String(max 32 chars)
FLY ASSISTANT NEAREST CATEGORYN/ASelected category.No longer used in the simulation.Enum:1 = Airport2 = Cities3 = Landmark4 = Fauna
FLY ASSISTANT NEAREST COUNTN/ANumber of elements in this category.No longer used in the simulation.Number
FLY ASSISTANT NEAREST METADATAN/ANo longer used in the simulation.-
FLY ASSISTANT NEAREST NAMEN/AReturns the name of the element at the specified index.No longer used in the simulation.String(max 256 chars)
FLY ASSISTANT NEAREST SELECTEDN/AReturns the index of the currently selected element.No longer used in the simulation.Number
FLY ASSISTANT RIBBONS ACTIVEN/AReturns true when both ribbon assistances are active (taxi and landing), and can also be used to set them.No longer used in the simulation.Bool
FLY ASSISTANT SET AS DESTINATIONN/AWhen set with any value, it will set the selected element as the current destination.No longer used in the simulation.Number
FLY ASSISTANT STALL SPEEDN/AReturns the flight assistant stall speed.No longer used in the simulation.Knots
FLY ASSISTANT STALL SPEED DISPLAY MODEN/AReturns the flight assistant stall speed display mode.No longer used in the simulation.String(max 32 chars)
FLY ASSISTANT TAKEOFF SPEEDN/AReturns the flight assistant takeoff speed.No longer used in the simulation.Knots
FLY ASSISTANT TAKEOFF SPEED DISPLAY MODEN/AReturns the flight assistant takeoff speed display mode.No longer used in the simulation.String(max 32 chars)
FLY ASSISTANT TAKEOFF SPEED ESTIMATEDN/ACan be set to override the estimated takeoff speed.No longer used in the simulation.Knots
FLY ASSISTANT TAXI RIBBONS ACTIVEN/AReturns true when only ribbon assistances are active, and can also be used to set them.No longer used in the simulation.Bool
FLY ASSISTANT TELEPORT TO INCREASED ALTITUDEN/ANo longer used in the simulation.Enum