Function

useActiveLayers

Returns active timeline layers at a timeline time. The hook is collection-first: each named layer returns every matching active clip in stable track order. `primary` is only a convenience first match.

Signature

Type Definition
useActiveLayers(options: ActiveLayerOptions<LayerName>): ActiveLayerResult<LayerName>

Type parameters

NameConstraintDefaultDescription
LayerNamestringstringNo type parameter summary yet.

Parameters

NameTypeDescription
optionsActiveLayerOptions<LayerName>Active layer selectors and optional lookup time.

Returns