set_effect
Replace all effects on a Figma node with a specified list, or clear them by passing an empty array. Supports shadows and blurs, with clear errors for unsupported nodes.
Instructions
Replace all effects on a node with the provided list (assigns node.effects). Pass effects:[] to clear every effect. SHADOW effects use color/offset/radius/spread; BLUR effects use only radius. Fails clearly if the node does not support effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to set effects on | |
| effects | Yes | Effects to apply, replacing all existing effects. Empty array clears effects. |