ae_add_mask
Apply a rectangular or elliptical mask to a layer, optionally restricting bounds for partial masking. Animate the mask for wipe reveals.
Instructions
Add a rectangular or elliptical mask to a layer. Bounds are in the layer's own pixel space ([left, top, right, bottom]); omit them to mask the whole layer. Combine with ae_animate_mask for wipe-style reveals.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layer": "<layer>"
},
"name": "ae_add_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| layer | Yes | ||
| shape | No | rect | |
| bounds | No | [left, top, right, bottom] in layer space. Defaults to the whole layer. | |
| feather | No | ||
| expansion | No | Mask expansion (px). Negative shrinks. | |
| mode | No | add | |
| inverted | No | ||
| name | No |