# PTZ cameras

Source: https://docs.lightair.app/desktop/control-and-automate/ptz

> Add a pan-tilt-zoom camera by its network address, move and zoom it from the PTZ panel, focus it, and save and recall up to ten preset positions.

In short:
- Open **Window › PTZ**, click **Add camera**, and type the camera's name and network address.
- Choose **VISCA over IP (UDP)** or **VISCA over TCP**, whichever your camera speaks.
- Hold an arrow to move the camera, **Zoom +** or **Zoom −** to zoom. The middle button sends it home.
- **Save to a preset**, then a number, keeps the position; click the number later to go back to it.

In the app: Window › PTZ

The PTZ panel moves network pan-tilt-zoom cameras that speak VISCA, the control protocol most PTZ
cameras use. It sends commands to the camera; the picture itself comes into Lightair like any
other camera or network source. The cameras are saved with the workspace.

## Add a camera

1. Open **Window › PTZ**.
2. Click **Add camera**.
3. Type a name, such as `Stage left`, and the camera's address on your network, such as
   `192.168.1.50`.
4. Choose how it's controlled:
   - **VISCA over IP (UDP)**, Sony's VISCA over IP, on port 52381.
   - **VISCA over TCP**, on port 5678, used by many other PTZ cameras.
5. Click **Add**.

A camera without a name is called **Camera 1**, **Camera 2** and so on. Each camera is a chip at
the top of the panel: click one to control it. Right-click a chip and choose **Remove** to take it
away.

Check your camera's manual for which protocol it speaks and whether it has to be switched on in
its settings.

## Move, zoom and focus

- **Hold an arrow** on the pad to pan and tilt. The camera stops when you let go or move off the
  button. The corner arrows move diagonally.
- **The house** in the middle sends the camera to its home position.
- **Hold Zoom +** or **Zoom −** to zoom in or out.
- **Slow**, **Medium** and **Fast** set the speed of moves and zooms. **Medium** is chosen at first.
- **Auto focus** switches the camera to automatic focus.

## Presets

The panel has ten presets, numbered 1 to 10.

### Save a preset

1. Move and zoom the camera where you want it.
2. Click **Save to a preset**. The presets are outlined in red and the panel says **Click a preset
   to save the camera's position there**.
3. Click a number.

The position is saved in the camera itself. Click **Cancel** instead of a number to leave without
saving.

### Go to a preset

Click its number. The camera moves to the saved position.

The line above the presets names the camera with its address and port, so you can see which one
you're controlling.

## Related

- [Captures](/desktop/build-your-show/captures)
- [Scenes](/desktop/build-your-show/scenes)
- [Automations](/desktop/control-and-automate/automations)
