{"name":"lockedCameraTo","title":"lockedCameraTo","type":"command","url":"https://community.bistudio.com/wiki/lockedCameraTo","revid":378357,"updated":"2026-04-02T16:48:58Z","groups":["Camera Control"],"status":"ok","games":{"arma3":"2.08"},"since":"arma3 2.08","arma3_since":"2.08","locality":{"argument":"local"},"description":"Return the turret lock target.\n\n> [!NOTE]\n> The command is local to the **turret**, not the vehicle.","syntaxes":[{"syntax":"vehicle lockedCameraTo turretPath","params":[{"name":"vehicle","type":"Object","type_expr":"Object"},{"name":"turretPath","description":"Turret Path. Use an empty array to select the gunner's turret by default","type_expr":"Turret Path","text":"turretPath: Turret Path. Use an empty array to select the gunner's turret by default"}],"returns":{"type_expr":"Nothing | Object | PositionASL","description":"- Nothing - not locked - Object - if locked to an object - PositionASL - if locked to a position","text":"Can be one of:\n\n- Nothing - not locked\n- Object - if locked to an object\n- PositionASL - if locked to a position"},"form":"binary","left":{"text":"vehicle"},"right":{"text":"turretPath"}}],"examples":[{"code":["vehicle player lockedCameraTo [];"]}],"see_also":["lockCameraTo"]}