get_node_motion
Reads a Figma node's Motion state: animation styles, keyframes, manual tracks, and timelines. Use it before editing to discover styleIds, timelineIds, and existing keyframes.
Instructions
Read a node's Figma Motion (animation) state: applied animation styles, all keyframe animations, manual keyframe tracks, and the timelines it belongs to. Call it before editing to discover styleIds / timelineIds and existing keyframes. Returns { nodeId, motion: { animationStyles, animations, manualKeyframeTracks, timelines } }, with motion: null when the node supports no Motion. Also returns playheadPosition — the editor's Motion playhead in seconds, present only in the Figma Design editor with an active timeline. Use it as a keyframe timelinePosition when the user means "here", i.e. wherever they have scrubbed to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node id to read Motion state from |