figma_set_scroll_behavior
Sets a Figma node's prototype scroll behavior: define overflow direction for frames or scroll behavior (SCROLLS/FIXED/STICKY_SCROLLS) for any scene node. At least one property required.
Instructions
Set a node's scroll behavior (Figma Prototype panel > Scroll behavior). overflowDirection (FrameNode): NONE/HORIZONTAL/VERTICAL/BOTH — defines prototype scroll axis. scrollBehavior (SceneNode): SCROLLS/FIXED/STICKY_SCROLLS — FIXED = sticky header, STICKY_SCROLLS = becomes sticky after scrolling past. At least one of overflowDirection or scrollBehavior must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node id (FRAME/COMPONENT/COMPONENT_SET/INSTANCE for overflowDirection; any SceneNode for scrollBehavior). | |
| overflowDirection | No | ||
| scrollBehavior | No |