Center anchor point
center_anchor_pointMove each layer's anchor point to the center of its content and adjust position to keep visuals unchanged; works for text, shape, solid, and footage layers.
Instructions
Move each layer's anchor point to the center of its content (sourceRectAtTime) and compensate position so nothing moves visually. Works for text/shape/solid/footage layers. Keyframed anchor points are skipped.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "center_anchor_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Comp time at which content bounds and transforms are measured (default: current time). | |
| layers | No | Layers: array of layer refs, or 'selected' (default) or 'all'. |