Appearance
Kiln API / kiln / SpriteAnimatorOptions
Interface: SpriteAnimatorOptions
Properties
| Property | Type | Description |
|---|---|---|
graph? | AnimationGraph | The state graph. Default: one state per clip, switched with play(). |
play? | string | State to start in instead of the graph's initial state (or the first clip). |
flipX? | boolean | Mirror horizontally (face left). |
speed? | number | Playback rate multiplier. Default 1. |