How to play a certain animation when another animation is finished?

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

For example, how to return to idle animation when the attack anim has finished? ( using the animatedSprite node ).

:bust_in_silhouette: Reply From: Maxpilot

Didn’t use it myself to date, but I guess you can use signal “animation_finished” from AnimationPlayer and connect it.