Skip to main content

Version 1, Update 127

Motion support in the Plugin API

You can now use the Plugin API to read and update Motion animation data, including animation styles, timelines, animations, and manual keyframe tracks.

New methods

New properties

  • animationStyles: Read the Motion animation styles currently applied to a node.
  • animations: Read all Motion animation keyframes on a node, including keyframes created by animation styles and manual keyframe tracks.
  • manualKeyframeTracks: Read the manual Motion keyframe tracks bound to a node.
  • timelines: Read the Motion timelines that contain a node.

Shaders in the Plugin API

You can now use the Plugin API to discover, import, and apply shaders.

New methods

  • figma.listAvailableShaders(): List every shader available to the current file — shaders already in the file, shaders from subscribed libraries, and the user's owned shaders.
  • figma.importShaderById(): Materialize a shader into the current file so it can be applied.

New types