enable_expression
Toggle an After Effects expression on or off by specifying the target property and enabled state. Solves the need to quickly activate or deactivate expressions without manual clicks.
Instructions
Enable or disable an expression
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": {
"property": "<property>",
"enabled": "<enabled>"
},
"name": "enable_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | No | ||
| enabled | Yes | ||
| compName | No | ||
| property | Yes | ||
| layerName | No | ||
| layerIndex | No |