ae_setLayerSwitches
Sets After Effects layer switches—enabled, audio, solo, shy, locked, guide, motion blur, frame blending, quality, label, and more—by layer name or index to control layer rendering and behavior.
Instructions
After Effects: set layer switches — enabled, audioEnabled, solo, shy, locked, guide, collapseTransformation, adjustment, effectsActive, motionBlur, frameBlending, quality (best|draft|wireframe), label (0-16), name, comment, autoOrient, timeRemap.
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": {
"layers": "<layers>"
},
"name": "ae_setLayerSwitches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shy | No | ||
| name | No | ||
| solo | No | ||
| guide | No | ||
| label | No | ||
| layers | Yes | Layer names or 1-based indexes. | |
| locked | No | ||
| comment | No | ||
| enabled | No | ||
| quality | No | ||
| adjustment | No | ||
| autoOrient | No | ||
| motionBlur | No | ||
| audioEnabled | No | ||
| effectsActive | No | ||
| frameBlending | No | ||
| compositionName | No | Comp name; omit to use the active comp. | |
| collapseTransformation | No |