ae_addMask
Adds rectangle, ellipse, or path masks to After Effects layers with controls for mode, feather, expansion, opacity, and inversion.
Instructions
After Effects: add a mask to a layer — rect [x,y,w,h], ellipse [x,y,w,h] or path points (layer space) — with mode, feather, expansion, opacity, inverted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| name | No | ||
| rect | No | [x, y, w, h] in layer pixels (default full layer) | |
| layer | Yes | Layer name or 1-based index. | |
| shape | No | ||
| points | No | ||
| feather | No | ||
| opacity | No | ||
| inverted | No | ||
| expansion | No | ||
| compositionName | No | Comp name; omit to use the active comp. |