# Pilot Camera (scripting commands)

- [getPilotCameraDirection](../../commands/getPilotCameraDirection.md): Returns model space vector of the object airplane or helicopter pilotCamera .
- [getPilotCameraOpticsMode](../../commands/getPilotCameraOpticsMode.md): Returns the optics mode index (zoom) for the pilotCamera
- [getPilotCameraPosition](../../commands/getPilotCameraPosition.md): Returns model space coordinates of the object airplane or helicopter pilotCamera.
- [getPilotCameraRotation](../../commands/getPilotCameraRotation.md): Returns rotation (relative to the centered camera position) of the object airplane or helicopter pilotCamera .
- [getPilotCameraTarget](../../commands/getPilotCameraTarget.md): 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.
- [hasPilotCamera](../../commands/hasPilotCamera.md): Returns true if the object airplane or helicopter has a pilotCamera.
- [setPilotCameraDirection](../../commands/setPilotCameraDirection.md): Sets the direction of airplane's or helicopter's pilotCamera.
- [setPilotCameraOpticsMode](../../commands/setPilotCameraOpticsMode.md): Sets the optics mode index (zoom) for the pilotCamera
- [setPilotCameraRotation](../../commands/setPilotCameraRotation.md): Sets rotation (relative to the centered camera position) of the object airplane or helicopter pilotCamera .
- [setPilotCameraTarget](../../commands/setPilotCameraTarget.md): Sets an area or target to be tracked by the object airplane or helicopter pilotCamera. To track an object the vehicle has to have appropriate sensors (scanners) that can detect the given target type.
