set_track_matte
Apply track matte effects to layers in After Effects compositions to control transparency using alpha or luma channels.
Instructions
Set track matte for 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": {
"compId": "<compId>",
"layerIndex": "<layerIndex>",
"matteType": "<matteType>"
},
"name": "set_track_matte"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer to apply matte to | |
| matteType | Yes | Type of track matte |