Set Effects
node_set_effectsApply custom shadows and blurs to a Figma node by setting its effect array with properties like type, color, offset, and radius.
Instructions
Set a node's effect array (shadows, blurs). Use node_apply_style to link a shared effect style instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to modify | |
| effects | Yes | Array of strict per-variant Figma effects: DROP_SHADOW/INNER_SHADOW or LAYER_BLUR/BACKGROUND_BLUR | |
| nodeName | Yes | The node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the modified node | |
| error | No |