# editor.seek

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

> Moves the playhead to a moment on the canvas.

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 |
|---|---|---|---|
| `at_ms` | `number` | yes | Where to, up to the canvas's end. |
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `playhead_ms` | `number` | no | Where the playhead is. |

## Errors

Invalid params (-32602) without `at_ms`. A state error (-32005) when no Editor project is open.

## Events

- `editor.changed`

## From an AI agent

The MCP server's `editor_seek` reaches this method.

## Related

- [editor.timeline.get](https://docs.lightair.app/developers/remote-api/editor.timeline.get.md)
