Function

useActiveMarkers

Subscribes to live marker proximity derived from the current playhead. Use this focused live hook for readouts and marker navigation UI that should update during playback or scrubbing. Use `useTimelineMarkers` for ordinary marker lists and marker editing commands.

Signature

Type Definition
useActiveMarkers(): UseActiveMarkersResult

Returns

Active, nearest, previous, and next markers for the live playhead time.