Apply an effect
ae_apply_effectAdd visual effects to After Effects layers and configure parameters in a single call. Targets the active composition or specified layer using effect names or matchNames.
Instructions
Add an effect to a layer and optionally set its parameters in one call. Accepts a display name ('Gaussian Blur') or a matchName ('ADBE Gaussian Blur 2').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, project item id, or index. Omit for the active comp. | |
| name | No | Rename the effect instance in the timeline. | |
| layer | No | Layer name or 1-based index. Omit to use the current selection. | |
| effect | Yes | Effect display name or matchName. | |
| parameters | No | Parameter name to value, e.g. {"Blurriness": 20}. Colors accept '#rrggbb'. Call ae_list_effect_params if you need the exact names. |