AnimationPlayer.stop

Stops or pauses the currently playing animation. If reset is true, the animation position is reset to 0 and the playback speed is reset to 1.0. If reset is false, the currentAnimationPosition will be kept and calling play or playBackwards without arguments or with the same animation name as assignedAnimation will resume the animation.

struct AnimationPlayer
@nogc nothrow
void
stop
(
in bool reset = true
)

Meta