# Control PTZ Cameras in Workflows

<figure><img src="/files/HeZL472z4kXQh0mZ2ZMX" alt=""><figcaption></figcaption></figure>

You can now control any PTZ camera that supports the ONVIF protocol using Roboflow Workflows.

Two options are available:

* **Follow:** The object it follows is the maximum confidence prediction out of all predictions passed into it. To follow a specific object, use the appropriate filters on the predictiion object to specify the object you want to follow. Additionally if a tracker is used, the camera will follow the tracked object until it disappears.
* **Move to Preset:** The camera can also move to a defined preset position. The camera must support the GotoPreset service.

[ You can read the full release notes on GitHub.](https://github.com/roboflow/inference/releases/tag/v0.50.5)


---

# 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://docs.roboflow.com/changelog/explore-by-month/june-2025/control-ptz-cameras-in-workflows.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.
