how to use _on_AnimationPlayer_animation_finished() ?

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

i have a series of animations in AnimationPlayer that need to play one after the other… i tried to use the func _on_AnimationPlayer_animation_finished multiple times and got an error. how can i get around this?