Appearance
anim-format (runtime format) / itemPlayhead
Function: itemPlayhead()
ts
function itemPlayhead(
item,
symbol,
elapsed
): object;The inner frame shown elapsed (maybe fractional) parent frames in, and the inner POSITION tweens are drawn at (owner 2026-11-06, playhead.ts): pos = frame ± the way to the neighbouring inner frame, frame when that neighbour is not next to it (a wrap, the end of a play-once).
Parameters
| Parameter | Type |
|---|---|
item | Item |
symbol | AnimSymbol |
elapsed | number |
Returns
object
| Name | Type |
|---|---|
frame | number |
pos | number |