Looping an Animation Clip

This is probably a simple question, but how do I make my animation loop indefinitely? I created a simple animation through the Timeline gui, set it to play on load, and on the last frame I want it to go back to the first frame and continue. Seems easy, but couldn’t find a property to goto or repeat at the end. I tried inserting an event at the end, but I don’t know what to put in the Function to make it happen, or if there’s another technique I’m missing. Thanks.

It’s in wrapMode option

Of course, nice and easy… Big thanks, I should have noticed that there. Excellent, now I can move on to the harder parts. Really starting to like developing with Cocos Creator, now I’m happy we chose to work with it instead of Flash or Unity which I’ve been used to.

1 Like

Hope you enjoy it ~