Skip to content

anim-format (runtime format) / innerPlayhead

Function: innerPlayhead() ​

ts
function innerPlayhead(
   first, 
   steps, 
   total, 
   once, 
   reverse
): object;

THE inner-frame rule shared with the editor (engine instanceFrame): steps (maybe fractional) frames on from first, looping or held at the end, maybe reversed. first may be fractional (a pinned position — loop: "single" with a fractional ff, a time-remapped instance): the frame shown is then its position rounded half up.

Parameters ​

ParameterType
firstnumber
stepsnumber
totalnumber
onceboolean
reverseboolean

Returns ​

object

NameType
framenumber
posnumber

HereSplash — 2D animation for the web