Click or drag to resize

AnimationPlayerStop Method

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(String, Single, Single, Boolean) or PlayBackwards(String, Single) without arguments or with the same animation name as AssignedAnimation will resume the animation.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Stop(
	bool reset = true
)

Parameters

reset (Optional)
Type: SystemBoolean

[Missing <param name="reset"/> documentation for "M:Godot.AnimationPlayer.Stop(System.Boolean)"]

See Also