Appearance
anim-format (runtime format) / stateBeat
Function: stateBeat()
ts
function stateBeat(
map,
at,
read,
forward
): StateMove | null;THE beat of a state machine (see the module comment) at global frame at; forward = the clip is playing forward (the state loop applies), false = stopped / backward (only arrows). Null = no state machine here, or nothing to do: the timeline plays on as it says.
Parameters
| Parameter | Type |
|---|---|
map | FrameMap |
at | number |
read | StateInputs |
forward | boolean |
Returns
StateMove | null