> For the complete documentation index, see [llms.txt](https://tractus.gitbook.io/tractus-tools-for-ndi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tractus.gitbook.io/tractus-tools-for-ndi/passthrough-ptz-control.md).

# Passthrough PTZ Control

You can use Multiview for NDI as a controller for your PTZ cameras. It supports PTZ passthrough from applications such as Central Control, Studio Monitor from NDI Tools, and other applications that send PTZ through NDI.

### Steps to Send Passthrough PTZ Commands

1. Select the viewport you wish to control. This can be done via:
   1. The web UI - right-click the viewport you wish to control.
   2. The API - send a GET request to `/viewer/{multiview}/focus/{viewport} (`where {`multiview`} is the number of the viewer (first multiview = viewer 0) and `{viewport}` is the viewport to be controlled (viewport 0 = first viewport).
   3. In KVM mode, when KVM mode is set to explicit.
2. Tune your controller, Studio Monitor, or PTZ-enabled NDI application to the multiview output.
3. Control the selected source with your PTZ controller.

### Selecting a Viewport using KVM

In Studio Monitor, you can select a viewport using KVM if the multiview's KVM mode is set to `explicit`. To set the KVM mode, follow these steps.

1. Open the web UI.
2. Click "Edit Layout."
3. At the bottom of the screen under **KVM Mode**, click **Click to Focus**.
4. Click **Save Changes.**

Now, when a viewport is clicked in KVM mode in Studio Monitor, that will select the viewport for control (both KVM and PTZ).

<figure><img src="/files/80C9F1LCn3Tlti0hVgTH" alt=""><figcaption></figcaption></figure>
