Sub SetSpriteAnimation(sprite, animation, num_loops)

Sets the current animation for a sprite

Note: Once an animation is set, it will automatically start


Related: GetSpriteAnimation