add-marker
Add a marker to an After Effects layer or composition at a specified time, with optional comment, label, chapter, URL, and duration.
Instructions
Add a marker to a layer or composition at a specified time. Markers can include a comment, label color, chapter name, URL and duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compIndex | Yes | 1-based composition index. | |
| markerType | No | 'layer' (default) or 'comp' for a composition marker. | |
| layerIndex | No | Target layer index (required for layer markers). | |
| layerName | No | Target layer name (alternative to layerIndex). | |
| timeInSeconds | No | Time in seconds where the marker is placed. Defaults to current time. | |
| comment | No | Marker comment / label text. | |
| duration | No | Marker duration in seconds (0 = point marker). | |
| chapter | No | Chapter name associated with the marker. | |
| url | No | URL to open when the marker is reached (for web export). | |
| label | No | Label color index (0 = none, 1-16 map to AE label colors). |