Skip to main content

For Each Track

Category: Pr Tracks & Clips For Each Track block screenshot

Iterates tracks of a sequence (filtered by kind and order). If you provide indexVar, the block also exposes the current zero-based iteration index. Use kind to limit which item type the block should include. If sequence is omitted, the block uses the active sequence when supported.

Inputs

InputRequiredValue KindTypesEnum Values
trackVaryesstring
indexVarnostring
sequencenoexpression
kindnoexpression
ordernoexpression

Notes

  • Iterates tracks of a sequence (filtered by kind and order).

Examples

Iterate All Video Tracks

Iterates all video tracks in the active sequence and collects their names.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: track iteration, sequence inspection

Source: patterns/ex-tracks-iterate-active-video.json

Download 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.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: sequence traversal, nested sequences, clip iteration, lists

Source: patterns/ex-sequence-traverse-nested-deduped.json

Download JSON