set_reactions
Add prototype interactions such as hover effects, click actions, and transitions to Figma nodes. Define triggers (ON_CLICK, ON_HOVER) and actions (navigate, swap, overlay) to create interactive prototypes.
Instructions
Set prototype interactions (reactions) on a node in Figma. Use this to add hover effects, click interactions, etc. For component variants, set on the default variant to add 'While hovering -> Change to hover variant' interactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to set reactions on | |
| reactions | Yes | Array of reactions to set on the node |