# editor.adjustment.add

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

> Adds an adjustment layer: its looks, masks, blend, grade and opacity apply to everything under it.

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

Set its looks with [editor.clip.set](/developers/remote-api/editor.clip.set), [editor.clip.key](/developers/remote-api/editor.clip.key) and the `editor.looks.*` methods.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `at_ms` | `number` | no | A moment on the canvas's timeline. Default: the playhead. |
| `duration_ms` | `number` | no | Its length, at least 100. Default 5000. |
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `(the clip)` | `{ id: string, name: string, track: number, start_ms: number, end_ms: number, in_ms: number, out_ms: number, speed: number, volume: number, muted: boolean, media: string | null, text: string | null }` | no | The clip as editor.timeline.get lists it. |

## Errors

A state error (-32005) when it can't be placed. 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_clip (action: adjustment)` reaches this method.

## Related

- [editor.looks.filter](https://docs.lightair.app/developers/remote-api/editor.looks.filter.md)
- [editor.clip.set](https://docs.lightair.app/developers/remote-api/editor.clip.set.md)
