link_properties_with_expression
Link two After Effects layer properties with an expression to synchronize values, using direct, inverse, offset, multiply, or custom link types.
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 | |
| linkType | No | Type of link between properties | direct |
| multiplier | No | Multiplier value (for multiply type) | |
| offsetValue | No | Offset value (for offset type) | |
| sourceLayer | Yes | Index of the source layer | |
| targetLayer | Yes | Index of the target layer | |
| sourceProperty | Yes | Source property path | |
| targetProperty | Yes | Target property path | |
| customExpression | No | Custom expression (for custom type) |