{"name":"getPilotCameraTarget","title":"getPilotCameraTarget","type":"command","url":"https://community.bistudio.com/wiki/getPilotCameraTarget","revid":378360,"updated":"2026-04-03T16:01:12Z","groups":["Pilot Camera"],"status":"ok","games":{"arma3":"1.64"},"since":"arma3 1.64","arma3_since":"1.64","locality":{"argument":"local"},"description":"Returns the target of the object airplane or helicopter pilotCamera tracking. Returns `[false, [0,0,0], objNull]` if camera is not in a tracking mode or if object has no pilotCamera.","syntaxes":[{"syntax":"getPilotCameraTarget object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"with [isTracking, targetPosition, targetObject]\n- isTracking: Boolean - returns whether the camera is in a tracking mode - targetPosition: PositionASL - returns the position of the tracked area or object - targetObject: Object - returns the tracked object, objNull if camera is only tracking an area","text":"Array with [isTracking, targetPosition, targetObject]\n\n- isTracking: Boolean - returns whether the camera is in a tracking mode\n- targetPosition: PositionASL - returns the position of the tracked area or object\n- targetObject: Object - returns the tracked object, objNull if camera is only tracking an area"},"form":"unary","right":{"text":"object"}}],"examples":[{"code":["getPilotCameraTarget vehicle player params [\"_pilotCamTracking\", \"_pilotCamTargetPos\", \"_pilotCamTarget\"];"]}],"see_also":["hasPilotCamera","getPilotCameraPosition","getPilotCameraDirection","getPilotCameraRotation","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget"]}