Click or drag to resize

AnimationPlayerCurrentAnimation Property

The name of the currently playing animation. If no animation is playing, the property's value is an empty string. Changing this value does not restart the animation. See Play(String, Single, Single, Boolean) for more information on playing animations.

Note: while this property appears in the inspector, it's not meant to be edited, and it's not saved in the scene. This property is mainly used to get the currently playing animation, and internally for animation playback tracks. For more information, see Animation.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public string CurrentAnimation { get; set; }

Property Value

Type: String
See Also