{"name":"getTurretOpticsMode","title":"getTurretOpticsMode","type":"command","url":"https://community.bistudio.com/wiki/getTurretOpticsMode","revid":377480,"updated":"2026-01-02T06:48:55Z","groups":["Turrets"],"status":"ok","games":{"arma3":"2.10"},"since":"arma3 2.10","arma3_since":"2.10","locality":{"argument":"local"},"description":"Get the current optics mode of the optics in the turret occupied by the specified unit. The alternative syntax allows a vehicle and turret path to be specified without needing a unit. Optic modes refer to the different fields of view (FOV) or zoom levels of an optic.","syntaxes":[{"syntax":"getTurretOpticsMode obj","params":[{"name":"obj","type":"Object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"obj"}},{"syntax":"obj getTurretOpticsMode turretPath","params":[{"name":"obj","type":"Object","type_expr":"Object"},{"name":"turretPath","type":"Turret Path","type_expr":"Turret Path"}],"returns":{"type":"Number","type_expr":"Number"},"form":"binary","left":{"text":"obj"},"right":{"text":"turretPath"}}],"examples":[{"code":["getTurretOpticsMode player;"]},{"code":["myTank getTurretOpticsMode [-1];"]},{"code":["myAircraft getTurretOpticsMode [0, 0];"]}],"see_also":["setTurretOpticsMode","turretOwner","getPilotCameraOpticsMode","setPilotCameraOpticsMode"]}