+1 vote

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.

asked Nov 18, 2018 in Engine by Diet Estus (1,504 points)
edited Nov 18, 2018 by Diet Estus

1 Answer

+1 vote
Best answer

AnimationPlayer has a current_animation_position attribute.

answered Nov 18, 2018 by Diet Estus (1,504 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.