Skip to content

setSelectedTangentMode

setSelectedTangentMode(tracks, selection, mode): TimelineTrack[]

Defined in: src/components/editor/Timeline/timelineEdits.ts:241

Set the tangent mode on every selected keyframe. The mode interpretation (how handles are read during draw / drag) happens elsewhere — this writes the tangentMode field and leaves handle values alone, so flipping back preserves them.

Parameters

tracks

readonly TimelineTrack[]

selection

TimelineSelection

mode

TangentMode

Returns

TimelineTrack[]