set_mask
Set whether a Figma node masks later siblings. Specify isMask true/false and optionally maskType (ALPHA, LUMINANCE, GEOMETRY) when enabling.
Instructions
Set whether a node is a mask — a mask clips its later siblings to its own shape. Pass isMask true/false, and optionally maskType (ALPHA / LUMINANCE / GEOMETRY) when enabling. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isMask | Yes | Whether the node masks its later siblings | |
| nodeId | Yes | Figma node id | |
| maskType | No | How the mask clips (only applied when enabling) |