Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | grettyr | |
Old Version | Published before Godot 3 was released. |
Hello,
I have a scene which contains a sprite which contains an animationplayer.
While running I add several of those sprite-scenes to my current tree. (via add_child()) and start the animation of some of them.
In order to realize when the animation of the animationplayer is finished I listen to the “_on_animation_finished” signal. This works well. The only problem is:
Since I have several animations I get several answers. Each for every instanciated scene where I started the animation.
Is there any way to find out if a finished animation is the final of all animations started?
thanks in advance,
grettyr