---
title: "One PTZ camera that watches a whole yard and turns to follow the action"
description: "A pan/tilt/zoom camera can patrol its presets on its own, and now it can turn to follow whatever is moving. How the three \"On activity\" modes differ, when to pick each, and how to switch Follow the action on."
url: https://vigiora.com/articles/ptz-cameras-follow-the-action
language: en
date: 2026-11-05
updated: 2026-11-05
tags: [how-to]
scenario: false
---

# One PTZ camera that watches a whole yard and turns to follow the action

> A pan/tilt/zoom camera can patrol its presets on its own, and now it can turn to follow whatever is moving. How the three "On activity" modes differ, when to pick each, and how to switch Follow the action on.

A fixed camera sees one frame and never changes it. A pan/tilt/zoom (PTZ) camera can look anywhere in a wide scene, but only if someone drives it — and nobody is watching the joystick at three in the morning. A **patrol** is Vigiora's answer to the first half of that: the camera walks through its saved presets on its own, so one PTZ covers a car park, a yard or a warehouse floor without a hand on the controls. From version 1.6.20 a patrol can also answer the second half. Set **On activity** to **Follow the action** and the camera breaks off its round, turns toward whatever is moving, and keeps it in frame until the scene settles — then carries on exactly where it left off.

![The live view of a PTZ camera, with the pan, tilt and zoom joystick controls.](https://vigiora.com/articles/img/ptz-cameras-follow-the-action/live-ptz.webp)

*Screenshot from a Vigiora demo server with sample data.*

> **What you need**
>
> - A PTZ camera that Vigiora controls — pan and tilt at least. Check this on the camera's **PTZ** tab; see [PTZ cameras](https://vigiora.com/docs/cameras/ptz).
> - A few saved **presets** — the positions the patrol steps through.
> - The camera reachable directly from the server. A camera behind a Vigiora Client can run presets but can't patrol from the server.
> - For Follow the action: [motion detection](https://vigiora.com/docs/cameras/motion-detection) running on the camera. No extra hardware and no AI credits.
>

## What a patrol is

A patrol is a saved plan, not a recording: an ordered list of steps — each a preset, how long to rest there (its **dwell time**) and how fast to move to it — that the server walks the camera through. It runs on the server, not in your browser, so it keeps going whether or not anyone is watching, and it survives a restart. One patrol runs per camera at a time.

There are three ways to get one going. From the joystick: open **Patrol** next to **Presets** on the [live view](https://vigiora.com/docs/using/live-view), where *all presets* looping is a single click with nothing to set up. By hand, in the camera's **PTZ** settings: add and reorder steps, set the speed, choose loop or once, pick a home preset and the hours it may run. Or automatically, letting Vigiora look at the camera and propose a patrol you then accept, edit or regenerate.

While the camera moves between presets, Vigiora mutes motion detection for the move itself, so walking the round never raises a motion alert. Full detail is in [Patrol mode](https://vigiora.com/docs/cameras/ptz#patrol-mode).

## The question Follow the action answers

A patrol on its own is patient but blind to the moment: it keeps its rhythm even when the one thing you care about is in a corner it only visits every two minutes. The **On activity** setting decides what the patrol does the instant the camera sees motion, and it has three choices.

### Keep moving

The patrol ignores motion and keeps cycling its presets. Pick this when the job is **coverage, not pursuit** — a camera meant to glance at every corner on a fixed cadence, where you would rather it never linger. A quiet overnight sweep of a large yard, where any one spot is only interesting for the record, suits Keep moving.

### Pause

The camera **stops where it is** while it can see something moving, and resumes the round when the scene goes quiet. The frame you were on stays put long enough to record what is happening, but the camera doesn't chase. It fits a scene where the presets already frame the places that matter — a doorway, a till, a loading bay — so holding the current view is enough.

### Follow the action

The camera **turns to follow the movement**. It breaks off the patrol, nudges its pan and tilt to keep the moving subject centred, and holds on it until the scene settles — then returns to the patrol at the next preset. Pick this when what matters is **the subject, not the spot**: a person crossing a wide car park, a vehicle pulling into a yard, anything that moves through the scene rather than staying in one preset's frame. One camera gets to behave like an operator who swings the lens toward whatever just happened.

Follow the action is new in 1.6.20; the other two have been the way a patrol reacted to motion from the start.

## How Follow works, and its limits

Vigiora reads where the motion is from the camera's own picture — the centre of the motion box — and steers the camera to keep it in the middle of the frame. That is all it needs: no second sensor, no AI credits, just the camera's video and its pan/tilt motors. It's the same motion Vigiora already detects for alerts, put to a second use. (For the curious, the per-patrol field is `activity_behavior`, with values `continue`, `pause` and `follow`.)

Three limits keep it well-behaved, and all three are deliberate:

- **A person always wins.** Steer the camera by hand, or pause the patrol, and following stops at once — the camera never fights the operator.
- **It always comes back.** A single follow is capped at two minutes, so a scene that keeps moving can't strand the camera chasing one subject forever.
- **It knows when it's over.** Once the scene has been quiet for the patrol's **activity quiet** time — ten seconds by default — the action is treated as finished and the round carries on from the next preset.

As with every patrol move, Vigiora ignores the camera's own tracking motion for detection, so following a subject doesn't raise a motion alert. Follow needs [motion detection](https://vigiora.com/docs/cameras/motion-detection) switched on and the camera reachable directly from the server. Pointing at a sound is on the way; for now Vigiora follows what it sees.

## Turn it on

1. **Save the presets you want covered**

   On the camera's **PTZ** tab, drive to each position worth watching and save it as a preset. These are the stops the patrol steps through, and the ground Follow works within.

2. **Open or create a patrol**

   Still in **PTZ** settings, open a named patrol to edit, or build one from your presets (or let Vigiora set one up for you). Order the steps and set each preset's dwell.

3. **Set On activity to Follow the action**

   In the patrol's settings, find the **On activity** selector and choose **Follow the action**. Set the home preset it returns to when it stops, and the hours it may run, while you're there.

4. **Start it and watch**

   Start the patrol from the camera's **PTZ** settings or from **Patrol** on the joystick. The joystick shows where the patrol is — *step 2/4 · next in 8 s* — and the camera's grid tile reads **Patrolling**. Make something move in view and watch the camera swing to follow, then return to its round once the scene is quiet.

## One camera, a wider job

The appeal is simple: a PTZ that watches a large area on its own and zooms in on whatever actually happens, without anyone driving it. Keep moving gives you unblinking coverage, Pause holds the view when something starts, and Follow the action turns the camera into the thing an operator would do — swing toward the movement and stay on it. All three are a dropdown in the patrol editor, and all come with Vigiora Server at no extra cost, on as many cameras as you own. Servers update themselves; check **System → Updates** for your version.

## Related docs

1. **PTZ cameras**

   Detection, the joystick, presets and digital zoom: [PTZ cameras](https://vigiora.com/docs/cameras/ptz).

2. **Patrol mode**

   Steps, dwell, schedule and the On activity choices: [Patrol mode](https://vigiora.com/docs/cameras/ptz#patrol-mode).

3. **Follow the action**

   How following works and its limits: [Follow the action](https://vigiora.com/docs/cameras/ptz#follow-the-action).

4. **Motion detection**

   What Follow reads to know where to look: [Motion detection](https://vigiora.com/docs/cameras/motion-detection).

---

Source: https://vigiora.com/articles/ptz-cameras-follow-the-action · Published 2026-11-05
