Overview
Theget_reactions tool extracts Figma’s native prototyping reactions (click handlers, navigation flows, overlay behaviors) from one or more nodes. This data reveals how users flow through a prototype and can be transformed into visual connector lines on the canvas.
Critical workflow: The output from this tool must be processed using the reaction_to_connector_strategy prompt to prepare parameters for the create_connections tool.
Parameters
Array of node IDs to extract reactions from. Each node is checked for prototype interactions (ON_CLICK, ON_DRAG, etc.) and their associated actions (NAVIGATE, OPEN_OVERLAY, etc.).
Returns
JSON array containing nodes with their reactions. Each reaction includes:- trigger: The interaction that starts the flow (e.g.,
ON_CLICK,ON_DRAG) - action: The resulting behavior with properties:
type: Action type (e.g.,NAVIGATE,OPEN_OVERLAY,SWAP_OVERLAY,CLOSE_OVERLAY)destinationId: Target node ID (for navigation/overlay actions)navigationTransition: Animation settingspreserveScrollPosition: Scroll behavior flag
Typical Reaction Structure
Example Usage
Extract reactions from selected frames
Visualize prototype flows
Use Cases
Prototype flow documentation
Extract all navigation paths to create a visual site map or user flow diagram directly on the Figma canvas.Interaction audit
Identify which screens have navigation configured and which are missing prototype connections.Flow validation
Verify that all interactive elements lead to valid destinations and no prototype links are broken.Notes
- Only returns reactions that are explicitly configured in Figma’s prototype panel
- Not all action types have a
destinationId(e.g.,CLOSE_OVERLAYcloses the current overlay) - Filter for action types like
NAVIGATE,OPEN_OVERLAY,SWAP_OVERLAYwhen visualizing flows - The tool response includes a follow-up reminder to use the
reaction_to_connector_strategyprompt
Related Tools
- create_connections - Draw connector lines between nodes
- set_default_connector - Configure connector style
- reaction_to_connector_strategy prompt - Systematic guide for converting reactions to connectors