set_prototype_interaction
Wire a clickable UI element to a destination screen or modal by setting trigger type, navigation, transition animation, and duration for interactive prototypes.
Instructions
Wire an interactive prototype transition from a clickable element (button, card) to a target screen or modal
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| easing | No | Transition easing | |
| timeout | No | Timeout delay in milliseconds (for AFTER_TIMEOUT) | |
| duration | No | Transition duration in seconds, defaults to 0.3 | |
| direction | No | Slide/move direction | |
| navigation | No | Navigation type, defaults to NAVIGATE | |
| triggerType | No | User trigger, defaults to ON_CLICK | |
| sourceNodeId | Yes | The clickable node ID (e.g. button, icon, row) | |
| transitionType | No | Animation transition, defaults to SMART_ANIMATE | |
| destinationNodeId | No | The destination Frame ID to navigate to | |
| resetScrollPosition | No | Reset scroll position on destination |