Download

Use a timer to handle a function on array?

I am trying to make a cool down function that will expand with an array. Is there a way to have individual timers that are part of an array and assigned to each index. If I put the timer in a function does it create an different instance every time that function is called? Any ideas how else to accomplish this? Timelines are not an option as it is in a component.

Hi man, i am pretty sure that you can have only 1 of that timers using both the timer event and timer function,
when you set a timer it will always set the same timer.

Here how build yourself an Array of timers with pause
Just compile and assure that both arrays have the same numbers of items in the array , (i made 4)