Skip to content

Kiln API / kiln / AnimationEventSpec

Interface: AnimationEventSpec ​

A frame or time event on a state: { frame: 3, name: 'hit' } (sprites) or { at: 0.4, name: 'footstep' } (seconds of clip time).

Properties ​

PropertyTypeDescription
namestring-
at?numberSeconds into the clip (clip time: before speed).
frame?numberFrame of a sprite clip, counted from 0 within the clip.