Godot Version
4.3
Question
Hi everyone!
I’m using AnimationPlayer
to animate a Label
with a squash and stretch effect. The problem is that, sometimes, the label scale remains stuck.
This is the effect.

I just call the play()
method from the AnimationPlayer
and that’s it. Any idea why the animation would get stuck?
Did you interrupt the animation and play a new one? If the animation is interrupted before it’s done playing, it won’t set the property to the final value. It looks like you only have one animation player as well.
I believe the animation might be interrupted, indeed, because there is a signal that triggers this animation in sequence. It’s a counter. I guess the sometimes the signal triggers the animation again before the last one was finished. Do AnimationPlayer
has any property to reset the animation properly and finish it?
There is the “RESET” animation that will have whatever default value that you set every property to on it. You’re prompted to create one whenever you add a new track. You could call it whenever playing a new animation, I guess.