Appearance
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
| Property | Type | Description |
|---|---|---|
name | string | - |
at? | number | Seconds into the clip (clip time: before speed). |
frame? | number | Frame of a sprite clip, counted from 0 within the clip. |