Set clip anchor point
set_clip_anchor_pointSets a clip's anchor point—the pivot for scale and rotation—using source-frame pixels or 0-1 normalized units. Use keep_in_place to stop the picture shifting when the anchor moves.
Instructions
Set a video clip's anchor point: the point of the clip that Position places and that scale and rotation pivot around. Pixels of the clip's SOURCE frame by default (the centre of a 1920x1080 clip is 960,540); units="normalized" for 0-1 fractions. Changing it moves the picture unless position is changed too; pass keep_in_place=true to compensate the position so the picture stays where it is. A parameter that is keyframed gets its keyframes removed first, so the new value holds for the whole clip. Returns the clip's transform.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "set_clip_anchor_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Horizontal anchor, in `units`. | |
| y | Yes | Vertical anchor, in `units`. | |
| units | No | Unit of x/y. "pixels" (default): sequence-frame pixels for position (0,0 = top-left of the frame), source-frame pixels for the anchor point. "normalized": 0-1 fractions of the same frame (0.5, 0.5 = centre). | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| clip_index | No | 0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id. | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "video". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | 0-based track index (0 = V1 or A1). | |
| keep_in_place | No | Adjust Position so the picture does not move. Default false. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |