How to change amount of times an animation loops before ending

in my game i want to make the animation that plays when you touch the colourful square play 5 times. Does anyone know how I can do this?

Collision(Colorful Square)-Play Animation:Done- +Number-Equal to 5)FAIL= Play Animation (the same one)

Then the same collision shown above should reset the number count with -4, unless it disappears.

You could copy and paste the frames in the animation over and over until it equals 5 repeats, or the filter way always works, if you want it to only play 5 times on some occurrences.

Asks question, never comes back :frowning:

Maybe they took the advice and didn’t have any more questions.