Function

useClipEditPreview

Reads the transient edit-preview state for a clip. Use this for custom clip UIs that need to render live editing affordances, such as overwrite cut indicators, without depending on internal engine flags.

Signature

Type Definition
useClipEditPreview(clipId: string): ClipEditPreview | undefined

Parameters

NameTypeDescription
clipIdstringClip id whose live edit preview should be read.

Returns

ClipEditPreview | undefined

The current edit-preview state, or undefined when the clip is not being preview-edited.