How to make my animated sprite start with my first frame?

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

Greets!

A bit strange, but i cannot manage to start with it. In order to start it, i should check ‘Playing’, but that start the whole animation, and the time to launch the play test, it start then from a ‘random’ one… And there’s no autoplay…

:bust_in_silhouette: Reply From: jgodfrey

I haven’t tried it, but AnimatedSprite has a frame property with both a getter and a setter. So, I’d expect something like the following to set the animation to the first frame:

$AnimatedSprite.frame = 0

Thxs, good to know, but i managed with an animation player now. Why isn’t it automated? Anyway, cheers!

Syl | 2020-01-19 18:47