How to start an animated sprite after another?

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

Greets!

Got two animated sprite, and just wanna know the lines of code to start one after the other auloaded is finished.

Fun!

:bust_in_silhouette: Reply From: jgodfrey

Every animation has an animation_finished signal. Connect up that signal on the first (auto-played) animation. When it finishes, the signal will fire. In the code that runs when the signal fires, simply start the 2nd animation.

Thxs but to wich node should i conect it? And how to make sure that it starts with the first frame, as it starts randomly?

Syl | 2020-01-22 22:31