Skip to content

hm5-types (source format) / CurveTrackKey

Interface: CurveTrackKey ​

One key of a curve tween track.

Properties ​

PropertyTypeDescription
ease?EasingSpec | "hold"the stretch to the next key: absent = SMOOTH (a cubic through the keys, slopes from the neighbours — curved paths, eased ends), "hold" = jumps at the next key, or an easing from the Tween editor's palette (from this value to the next by that curve)
in?numbersmooth stretches: the slope arriving at / leaving this key (value per WHOLE SPAN, i.e. per unit of p) when dragged by hand; absent = automatic
out?number-
pnumberwhere in the span (owner 2026-11-07): 0 = the keyframe's own frame, 1 = the span's LAST frame (frame = p × (length − 1)); a span made longer / shorter (F5, Shift+F5, a moved next key) stretches the curve. May pass 1 after a split (the head keeps one key beyond).
s?string"text" channel only: the text at this key. Its v is the key's STEP (0, 1, 2 … in key order): the curve between two keys = how far the text has gone from one string to the next. Absent = the text the keys around it show there.
vnumber-

HereSplash — 2D animation for the web