#func _on_animated_sprite_2d_animation_finished() -> void:

6 messages · Page 1 of 1 (latest)

median gulch
#

animation_looped() emits when the animation is done after the last frame inside a loop, maybe that´s what you want

#

I think they are set to loop by default if you didnt do anything.

foggy sphinx
#

Nice that you solved this. Also, for future reference, you can get this trigger while using a looping animation as well by adding a call method to the animation player at whatever frame you need.

fallow coral
foggy sphinx
#

It calls a method! Lol idk why it is called that, but its basically just a trigger for a function. In the animation player, within any animation, you can right-click on the tracks and select "add call method track". Then just doubleclick on the frame you want and itll add a new "call method" at that spot, a window will popup asking what script and function to call.