Shift timing, repeat motion, and trim scripts
Move motion earlier or later, repeat a rhythm, or trim nodes beyond the video. Choose the operation you need and check the joins afterward.
In Library, select a video with a script, open Details, and click Edit under Script. Confirm the axis. These examples use Sofia's 15-second script; your node counts and values may differ. Shifting, repeating, and trimming are separate operations with the selections shown in their screenshots.
01 Delay a section by half a second
- Select consecutive nodes. Here, seven nodes span 1550–3800 ms.
- Click Shift in the toolbar to open Phase Shift.
- In Time shift, enter 0.500 seconds. Positive values delay motion; negative values advance it. The ±0.050 s buttons make small adjustments.
- Check the target range, Replaces, and resulting nodes. Here, the target is 2.050–4.300 s, replacing one existing node and changing the count from 41 to 40.
- Click Apply Phase Shift and compare with the video. Use Undo afterward if needed, or Cancel Phase Shift before applying.
Phase Shift moves a consecutive selection and may replace existing nodes in its destination. For overall playback sync instead, use Calibrate / Offset in the player.
02 Repeat a section and plan the joins
- Select a consecutive section. Here, six nodes span 1550–3425 ms.
- Click Repeat and set Additional copies to 2. This adds two copies, giving three occurrences including the original.
- The first and last positions differ here, so set Join duration 0.250 s to join the copies. Matching endpoints show No join needed.
- Check the preview: the original stays, and copies cover 3.425–7.675 s, replacing 11 later nodes and leaving 42 nodes total.
- Use View full preview to see the full affected range, then confirm with Apply Repeat. Cancel the preview or use Undo after applying if unwanted.
Repeat replaces later nodes; this script still lasts 15 seconds. It does not extend the video or simply append beyond the timeline. Available time limits the number of copies.
03 Check the last node before changing timeline length
At the top, Duration opens Timeline length. Compare Script duration, Video duration, and Last node. Extending the timeline adds empty space without stretching motion or video.
To match the video, use the video-length option. If nodes extend past its end, review the removal count under Trim to video. Trimming removes those nodes and can be undone. Shortening an empty tail and deleting motion at the end have different effects.
- Open Duration and compare Script duration, Video duration, and Last node.
- To extend only the timeline, change Target timeline length and Apply. Existing node positions and times stay unchanged.
- If nodes extend beyond the video, review the count in Trim to video before trimming.
- Reopen the panel. Confirm the script and video durations match and Last node falls within the video.
Here, the timeline is 20 seconds, the video is 15 seconds, and the last node is at 18.146 seconds. Trim to video removes that node, leaving the last at 14.999 seconds.
Check your changes
Check the destination, replaced nodes, and ending length. Play across joins and the end.