Thanks.
On some similar loops related subject, you might have a tip for this as well.
I have 12 Sprite instances, trying to pick randomly one by one without repartition, and change its animation. (I wanted to do that with time gaps of 1 seconds).
I tried using a while loop with a flag, but ended up calling 2 functions. For a programmer, this seems a little bit overkill for a simple thing.
Is that the way this works, or am I doing something wrong and I need to learn some more of this stuff before proceeding?