# editor.tracking.follow

Source: https://docs.lightair.app/developers/remote-api/editor.tracking.follow

> Makes a mask of the tracked clip, or another clip over it, follow the tracked spot with keys.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.write` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `mask` | `number` | no | The tracked clip's mask, from 1. |
| `follower` | `string` | no | A clip over it, instead of `mask`. |

## Errors

A state error (-32005) when nothing has been tracked yet, or it can't follow. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it.

## Events

- `editor.changed`

## From an AI agent

The MCP server's `editor_tracking (action: follow)` reaches this method.

## Related

- [editor.tracking.start](https://docs.lightair.app/developers/remote-api/editor.tracking.start.md)
- [editor.compose.mask.add](https://docs.lightair.app/developers/remote-api/editor.compose.mask.add.md)
