Air Brakes / Speed Brakes with simconnect

Anyone knows if it is possible to extend airbrakes / speedbrakes in flight through simconnect. I can’t find any specific reference.

variable calls SPOILERS HANDLE POSITION in percent, it settable.
you can also use SPOILERS_ON and SPOILERS_OFF events

Thankyou. I was clearly searching for the wrong command name. I’ll try that

That should have given you a “spoiler alert”!

:wink:

Thank you. It worked perfectly. Do you know how to switch off engine? ( I mean a general command that would work with every/most airplane no matter the type of engine?)

ENGINE_AUTO_SHUTDOWN but it may not work with new fuel system

https://docs.flightsimulator.com/html/index.htm#t=Programming_Tools%2FSimVars%2FEvent_IDs%2FAircraft_Engine_Events.htm&rhsearch=ENGINE_AUTO_SHUTDOWN&rhhlterm=ENGINE_AUTO_SHUTDOWN