Appearance
anim-format (runtime format) / itemAtTime
Function: itemAtTime()
ts
function itemAtTime(
runs,
frame,
index,
time
): Item | null;Item index of the run at real frame frame, as drawn at time (fractional; before or after frame): followed run to run while tweened runs hand it over (same index, same item — as smoothing pairs them); null = it was not moving like this then.
Parameters
| Parameter | Type |
|---|---|
runs | Run[] |
frame | number |
index | number |
time | number |
Returns
Item | null