Appearance
anim-format (runtime format) / sectionPosition
Function: sectionPosition()
ts
function sectionPosition(
map,
at,
section,
phase,
progress
): number | null;The playhead position progress (0..1) of the way through a section / phase (sectionRange): first + (last − first) × progress — fractional, so tweens are drawn in between (anim-format playhead.ts). Null = no such section / label.
Parameters
| Parameter | Type |
|---|---|
map | FrameMap |
at | number |
section | string | null |
phase | string | null | undefined |
progress | number |
Returns
number | null