Table of Contents

Method Reset

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

Reset()

Resets this AnimatedSprite back to its initial state as defined by the AnimationTag used to create it. You will need to call Play(int?, int?) after resetting to start the playback of the animation.

public void Reset()

Remarks

This is useful if you've adjusted the IsReversed or IsPingPong properties, or specified a override to the loop count when initially playing the animation.

This also resets the Speed to 1.0d.