How to get the current time of an AnimationPlayer or Animation?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Diet Estus

I have an AnimationPlayer which plays some Animations.

How do I get the current time of an animation?

For example, if the current animation is 1 second long and is one quarter finished, I want a method or attribute which returns 0.25.

:bust_in_silhouette: Reply From: Diet Estus

AnimationPlayer has a current_animation_position attribute.