Sprite.play

void play(SpriteAnimation newAnimation, bool canKeepProgress = false) @safe nothrow @nogc

Starts playing a new animation, optionally preserving current frame progress.