I have this:
It doesnt work. Only once is repeated instead of 5.
Any idea? Thanks!
Call the function every X seconds so it's outside of the function.
Develop games in your browser. Powerful, performant & highly capable.
Or use Timer behavior.
Thanks for the replies!
The point is that I need it to be inside the function
You can't use "Repeat every x" inside functions and triggered events. Use Timer behavior.