AnimationPlayer.currentAnimation

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 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.

  1. String currentAnimation [@property getter]
  2. String currentAnimation [@property setter]
    struct AnimationPlayer
    @nogc nothrow @property
    void
    currentAnimation
    (
    String v
    )

Meta