Click or drag to resize

AnimatedSpritePlay Method

Plays the animation named anim. If no anim is provided, the current animation is played. If backwards is true, the animation will be played in reverse.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Play(
	string anim = "",
	bool backwards = false
)

Parameters

anim (Optional)
Type: SystemString

[Missing <param name="anim"/> documentation for "M:Godot.AnimatedSprite.Play(System.String,System.Boolean)"]

backwards (Optional)
Type: SystemBoolean

[Missing <param name="backwards"/> documentation for "M:Godot.AnimatedSprite.Play(System.String,System.Boolean)"]

See Also