Remove or toggle an effect
ae_remove_effectRemove or disable an effect on a layer in After Effects. Specify the effect by name or index to delete it, or set disableOnly to toggle it off without deletion.
Instructions
Delete an effect from a layer, or just switch it off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, project item id, or index. Omit for the active comp. | |
| layer | No | Layer name or 1-based index. Omit to use the current selection. | |
| effect | Yes | Effect name or 1-based index. | |
| disableOnly | No | Switch the effect off instead of deleting it. |