ae_setTrackMatte
Apply an alpha, inverted alpha, luma, or inverted luma track matte from one layer to another in After Effects, or remove the matte to restore the layer.
Instructions
After Effects: use matteLayer as track matte for layer (alpha|alphaInverted|luma|lumaInverted|none). Image on top, shape as alpha matte = clip image into shape.
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": {
"layer": "<layer>"
},
"name": "ae_setTrackMatte"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| layer | Yes | Layer name or 1-based index. | |
| matteLayer | No | Layer name or 1-based index. | |
| compositionName | No | Comp name; omit to use the active comp. |