add_drop_shadow
Creates a hard drop shadow for a layer's artwork on a new layer beneath it, with adjustable offset, color, opacity, and frame.
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 | Default: "#00000080". | #00000080 |
| frame | No | Default: 1. | |
| layer | Yes | ||
| opacity | No | Default: 255. | |
| filename | Yes | ||
| offset_x | No | Default: 1. | |
| offset_y | No | Default: 1. |