figma_set_scroll_behavior
Configure a node's prototype scroll behavior: set overflow direction (none, horizontal, vertical, both) and scroll mode (scrolls, fixed, sticky scrolls) to control sticky headers and scrolling axes.
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). | |
| scrollBehavior | No | ||
| overflowDirection | No |