{"name":"directionStabilizationEnabled","operator":null,"title":"directionStabilizationEnabled","type":"command","url":"https://community.bistudio.com/wiki/directionStabilizationEnabled","revid":377493,"updated":"2026-01-02T06:49:17Z","groups":["Camera Control","Turrets"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.06"}],"since":{"game":"arma3","name":"Arma 3","version":"2.06"},"arma3_since":"2.06","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Get state of direction stabilization. This command returns true if the current optic mode of the selected turret has direction stabilization configured in config (`directionStabilized`) and if it is also not disabled by enableDirectionStabilization.\n\nThis command can not be used to determine if the current optic of the turret has `directionStabilized` enabled in config.","syntaxes":[{"syntax":"vehicle directionStabilizationEnabled turretPath","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"vehicle: Object"},{"name":"turretPath","type":"Turret Path","optional":false,"default":null,"description":null,"types":["Turret Path"],"since":null,"text":"turretPath: Turret Path"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"whether direction stabilization is enabled","text":"Boolean - whether direction stabilization is enabled"},"form":"binary","operator":null,"left":{"text":"vehicle","types":["Object"]},"right":{"text":"turretPath","types":["Turret Path"]}}],"examples":[{"text":"```sqf\nuav directionStabilizationEnabled [0];\n```","code":["uav directionStabilizationEnabled [0];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["enableDirectionStabilization","lockCameraTo"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Camera Control","Command Group: Turrets","Introduced with Arma 3 version 2.06","Scripting Commands"]}