# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tractus.gitbook.io/tractus-tools-for-ndi/passthrough-ptz-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
