set_reactions
Adds prototype interactions such as click, hover, and timeout reactions with navigation, animation, and easing settings to Figma nodes or component variants.
Instructions
Add prototype interactions (real animation in Present mode). items: [{ nodeId, append?, reactions: [{ on: click|hover|press|timeout|enter|leave, timeout (s), to: destinationNodeId, nav: CHANGE_TO|NAVIGATE|SCROLL_TO|OVERLAY|BACK, anim: SMART_ANIMATE|DISSOLVE|SCROLL_ANIMATE|INSTANT, duration (s), easing: [x1,y1,x2,y2] | EASE_OUT | EASE_IN_AND_OUT… }] }] Use CHANGE_TO between variants of a component set for micro-interactions (hover, toggles, multi-step animations).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"items": "<items>"
},
"name": "set_reactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |