link_properties_with_expression
Connect After Effects layer properties using expressions to synchronize animations between source and target elements.
Instructions
Link two properties together using 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": {
"compId": "<compId>",
"sourceLayer": "<sourceLayer>",
"sourceProperty": "<sourceProperty>",
"targetLayer": "<targetLayer>",
"targetProperty": "<targetProperty>"
},
"name": "link_properties_with_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| sourceLayer | Yes | Index of the source layer | |
| sourceProperty | Yes | Source property path | |
| targetLayer | Yes | Index of the target layer | |
| targetProperty | Yes | Target property path | |
| linkType | No | Type of link between properties | direct |
| offsetValue | No | Offset value (for offset type) | |
| multiplier | No | Multiplier value (for multiply type) | |
| customExpression | No | Custom expression (for custom type) |