set_track_matte
Applies a track matte to an After Effects layer, enabling controlled transparency and compositing using alpha or luma matte options.
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 | |
| matteType | Yes | Type of track matte | |
| layerIndex | Yes | Index of the layer to apply matte to |