setEffectEnabled
Enable or disable an effect on a layer in After Effects by name or index. Use it to bypass effects temporarily without removing them from the composition.
Instructions
Enable or disable (bypass) an effect on a layer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | True to enable effect, false to disable/bypass | |
| compName | No | Composition name | |
| layerName | No | Layer name | |
| effectName | No | Effect name | |
| layerIndex | No | Layer index (1-based) | |
| effectIndex | No | Effect index on layer |