add-lottie-state-markers
Add named interactive state markers to an After Effects composition timeline for dotLottie playback, using presets or custom states.
Instructions
Add named interactive state markers to an After Effects composition timeline for dotLottie interactive playback (e.g. idle, hover, active, exit). Supports presets: 'button_toggle', 'hover_loop', 'toggle_switch' or custom state definitions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add-lottie-state-markers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | Standard state layout preset. | |
| states | No | Custom state markers to place on timeline. | |
| compName | No | Name of target composition (alternative to compIndex). | |
| compIndex | No | 1-based index of target composition. Defaults to active comp. | |
| clearExistingMarkers | No | Clear existing composition markers before placing state markers (default: true). |