setLayerProperties
Update an After Effects layer's position, scale, rotation, opacity, blend mode, 3D, and visibility settings to control its appearance and timing in a composition.
Instructions
Set properties of a layer (position, scale, rotation, opacity, blendMode, threeDLayer, trackMatteType, enabled, etc.)
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": {
"properties": "<properties>"
},
"name": "setLayerProperties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compName | No | Composition name | |
| layerName | No | Layer name | |
| layerIndex | No | Layer index | |
| properties | Yes | Properties object to update |