AnimatedSprite.RestartMethod in AnimatedSpriteDeclarationpublic void Restart()DescriptionRestarts the animation to the first frame.