Skip to content

anim-format (runtime format) / partFrameAt

Function: partFrameAt() ​

ts
function partFrameAt(
   first, 
   last, 
   pos, 
   loop
): object;

Where a part driver's playhead is: pos frames (fractional, from 0) into the section [first, last] → the source frame shown (whole); a driver that plays once is done past its last frame (it showed every frame for a whole frame's time).

Parameters ​

ParameterType
firstnumber
lastnumber
posnumber
loopboolean

Returns ​

object

NameType
doneboolean
framenumber

HereSplash — 2D animation for the web