Skip to content

anim-format (runtime format) / followKeyAt

Function: followKeyAt() ​

ts
function followKeyAt(layer, frame): AnimFollowKey | null;

THE follow switch in force at frame (AnimLayer.fk): the last one starting at or before it; null = before the first (or none) — then the layer's own parent / bone hold

Parameters ​

ParameterType
layerAnimLayer
framenumber

Returns ​

AnimFollowKey | null

HereSplash — 2D animation for the web