add_drop_shadow
Add a hard drop shadow to a layer's artwork by creating a shadow layer beneath it with configurable offset, color, and opacity.
Instructions
Add a hard drop shadow for a layer's artwork on a new layer placed beneath it.
Args:
layer: The layer casting the shadow.
offset_x, offset_y: Shadow offset in pixels.
color: Shadow colour (often semi-transparent black, the default).
opacity: Opacity (0-255) of the shadow layer.
frame: Frame to build the shadow for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #00000080 | |
| frame | No | ||
| layer | Yes | ||
| opacity | No | ||
| filename | Yes | ||
| offset_x | No | ||
| offset_y | No |