get_motion
Read Figma Motion state—timeline durations, playhead position, keyframe tracks, and resolved animations—for given nodes or the current selection to inspect animation settings.
Instructions
Read Motion state — timelines (with durations in seconds), the current playheadPosition in seconds (undefined when no timeline is active), manual keyframe tracks, applied animation styles, and resolved animations — for the given nodes, or the current selection when none are given. Motion is distinct from prototype reactions: reactions link frames on click, Motion animates properties over a timeline inside one top-level frame. Returns motionEnabled:false when the account lacks the Motion feature flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| nodeIds | No |