Interface

UseTimelineClipDragResult

Result returned by `useTimelineClipDrag`.

Signature

Type Definition
Interface UseTimelineClipDragResult

Properties

NameSignatureDescription
cancelClipDrag(): TimelineCommandResultCancels pointer handling for the active drag and settles current preview state.
draggingdragging: booleanWhether a clip body drag is currently active.
dropFeedbackdropFeedback: TimelineClipDropFeedbackCurrent transient drop feedback snapshot. Use `useTimelineClipDropFeedback` for live updates.
endClipDrag(): TimelineCommandResultEnds the active clip body drag and settles history.
moveClipDrag(input: TimelineClipDragMoveInput): TimelineCommandResult<TimelineClipMoveResult>Updates the active clip body drag preview.
startClipDrag(input: TimelineClipDragStartInput): TimelineCommandResultStarts a clip body drag.