Appearance
anim-format (runtime format) / remapPlayhead
Function: remapPlayhead()
ts
function remapPlayhead(
position,
total,
once
): object;TIME REMAP (owner 2026-11-23): the inner frame shown + position of an instance whose inner position is keyed (position, a frame of its symbol, fractions = between frames): past the end it wraps, or holds the last frame when once (play once / stop at end). The editor (engine instanceAt) and the exporter (a remapped item = this pos as a fractional ff with loop: "single") both call this.
Parameters
| Parameter | Type |
|---|---|
position | number |
total | number |
once | boolean |
Returns
object
| Name | Type |
|---|---|
frame | number |
pos | number |