layer_set_shadow
Add or update a drop shadow on a design layer by setting color, blur radius, X/Y offsets, or a preset like soft, float, glow, or none.
Instructions
Adds or updates drop shadow on a layer (color, blur radius, horizontal/vertical offsets, or quick preset: "soft", "float", "glow", "none").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | Shadow blur radius (0-80) | |
| color | No | Shadow color (hex or rgba) | rgba(0,0,0,0.35) |
| preset | No | ||
| layerId | Yes | Target layer ID | |
| offsetX | No | Shadow X offset (-50 to 50) | |
| offsetY | No | Shadow Y offset (-50 to 50) |