set_overlay_settings
Retrieves read-only overlay settings for a Figma frame, including position, background, and close-on-click-outside behavior. Change values manually in Figma's Prototype panel.
Instructions
Read the overlay settings (position, background, close on click outside) of a frame used as an overlay. These properties are READ-ONLY in the Figma Plugin API: calling with any setting returns an error together with the current values; set them manually in Figma's Prototype panel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ID of the frame used as overlay destination | |
| position | No | Desired overlay position | |
| background | No | Desired overlay background: "NONE" or { color: {r,g,b,a} } (0-1) | |
| closeOnClickOutside | No | Desired close-on-click-outside behavior |