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
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": {
"enabled": "<enabled>"
},
"name": "setEffectEnabled"
}
}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 |