apply_animation_style
Apply a reusable animation style to a Figma node by style ID or name, returning the instance ID for removal. Set duration and timeline offset in seconds at the top level, not in props.
Instructions
Apply a reusable animation style to a node. Identify it by styleId from list_animation_styles, or by styleName for a substring match. duration and timelineOffset are seconds and are top-level, not props. Returns the applied instance id needed by remove_animation_style. Verify the result against animationStyles in the response — applying a style does not materialize tracks into animations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| props | No | ||
| nodeId | Yes | ||
| styleId | No | ||
| duration | No | ||
| styleName | No | ||
| extendTimeline | No | ||
| timelineOffset | No | ||
| allowTopLevelFrame | No |