Move, scale or inset an object track
offset_trackMove, scale or inset an object track's corners on every frame: e.g. from a sign's outer frame to its inner panel with inset 0.04, so a pinned picture sits inside the border. scale and inset are in the surface's own UV and go through its perspective on each frame, so the far side moves less than the near side. shift moves it in source pixels or in surface UV. newLabel keeps the original and writes a new track. The answer ends with the track's new quality verdict and flagged ranges, and a preview_range call with overlays ["tracks"] that shows the changed frames on the film: run it to check. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inset | Yes | UV taken off each side of the surface: 0.04 moves every corner 4% of the surface's width and height inward, onto a sign's inner panel inside its border. Negative grows it outward. null is 0. | |
| range | Yes | [from, to] seconds to change (atSpace says what they are). null changes every frame. | |
| scale | Yes | The surface's size around its centre, in its own UV: 0.9 is 90%, 1.1 is 110%. null keeps the size. | |
| shift | Yes | [dx, dy] added to every corner, in shiftSpace. null moves nothing. | |
| clipId | Yes | The film clip that plays this asset, when space or atSpace needs one and several clips play it. null picks the clip that shows the asset at that time. | |
| atSpace | Yes | What this call's times are. null or source: seconds into the asset file. timeline: seconds of the film, read through the clip that plays the asset then (clipId to pick one). | |
| trackId | Yes | The object track id, as the tracking tool printed it or search_assets lists it (objectTracks). | |
| newLabel | Yes | null changes the track itself. A label writes the result as a new track with its own id and keeps the original, e.g. "sign panel" for the inner panel beside the sign's outer frame. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. | |
| shiftSpace | Yes | What shift is in. null or source: pixels of the asset. surface: UV of the tracked surface, where 1 is its whole width or height, so [0, 0.1] moves it down a tenth of its own height, in perspective. |