monorail_motion
Apply, inspect, or clear reveal animations on Figma design nodes, and build step-by-step slide reveals with native transitions so existing slides get animated builds.
Instructions
Reveals and builds with Figma's native animation. Actions: 'apply' reveals to existing nodes ([{target, step|offset, duration, style, props}]) — in the Design editor this applies Motion object animations on one slide; in Figma Slides (where the Plugin API exposes no object animations) it builds one slide per step with a Smart Animate transition, cloning the slide so persisting layers hold still and arriving ones fade in. 'list' the Motion animation styles (Design only); 'inspect' animations and slide transitions on slides/nodes; 'clear' Motion animations from nodes. Prefer the 'reveal' field on monorail_primitives ops when building from scratch; use this tool for slides that already exist.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "monorail_motion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do. | |
| reveals | No | For apply: one entry per node to animate. | |
| targets | No | For inspect/clear: slide IDs (their children are used) or node IDs. | |
| build_mode | No | How reveals are realised. 'auto' (default): Motion object animations where the editor exposes them (Design); in Figma Slides (no object-animation API) one slide with a transparent frame per build step named 'Reveal N', so the presenter adds one Fade in / On click object animation per frame in the Animate panel. 'groups' forces that. 'slides' instead clones one slide per build state with a native SMART_ANIMATE transition (no manual step, but N slides per scene). 'motion' forces Motion and warns if unavailable. | |
| transition | No | Slide transition between step slides (default SMART_ANIMATE — persisting layers hold still, arriving ones fade in). Only used when reveals become step slides. | |
| step_seconds | No | Seconds between build steps (default 1.5). |