For Each Track Item
Iterates over the items of a track, with optional kind filter, time range, and order. If you provide indexVar, the block also exposes the current zero-based iteration index. If fromSeconds and/or toSeconds are provided, the block limits its work to that time range. Use kind to limit which item type the block should include.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
itemVar | yes | string | — | — |
indexVar | no | string | — | — |
track | yes | expression | — | — |
kind | no | expression | — | — |
fromSeconds | no | expression | — | — |
toSeconds | no | expression | — | — |
order | no | expression | — | — |
Notes
- Iterates items of a track (
kindfilter, optional range, optional order).
Examples
Iterate Clips In V1
Resolves V1 and loops over all clip items on that track.
Topics: track iteration, clip iteration
Source: patterns/ex-track-items-iterate-v1-clips.json
Place Multiple Source Ranges From One Clip
Creates an empty sequence, then fills it with three explicit source ranges from one clip while verifying the original project-item in/out gets restored afterward.
Topics: timeline placement, source range placement, sequence creation
Source: patterns/ex-sequence-place-multiple-source-ranges-from-one-clip.json
Traverse Nested Sequences With Deduped Worklist
Traverses the active sequence and nested sequences through a pending/seen worklist so nested sequence refs are not processed twice.
Topics: sequence traversal, nested sequences, clip iteration, lists
Source: patterns/ex-sequence-traverse-nested-deduped.json