Skip to content

Kiln API / kiln / SpriteAnimatorOptions

Interface: SpriteAnimatorOptions ​

Properties ​

PropertyTypeDescription
graph?AnimationGraphThe state graph. Default: one state per clip, switched with play().
play?stringState to start in instead of the graph's initial state (or the first clip).
flipX?booleanMirror horizontally (face left).
speed?numberPlayback rate multiplier. Default 1.