Set scroll and fixed layers
figma_set_scroll_behaviorSet a frame's prototype scroll overflow (none, horizontal, vertical, both) and choose direct child layers that stay fixed while the rest scroll.
Instructions
Prototype scrolling for a frame: overflow (none, horizontal, vertical, both) and which direct children stay fixed while the rest scrolls (fixedNodeIds, bottom to top; [] fixes none). Fixed layers are moved to the top of the layer list, so in an auto-layout frame each must be absolute first (figma_move_nodes positioning "absolute"), and an instance takes overflow only — Figma moves none of its layers, so fix them in its main component. This is presentation behaviour; to cut content off on the canvas use figma_set_clips_content. Editors: Design; unverified: FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | A frame, component or instance (an instance: `overflow` only). | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| overflow | No | ||
| fixedNodeIds | No | Direct children to fix (e.g. a nav bar), bottom to top. | |
| idempotencyKey | No | Caller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely. |