So I have a custom event that I would like to start with a x-seconds delay before performing its code.
Example 1:
Example 2:
Both Example 1 & 2 wait 1 second and then perform the print. But it only prints once regardless of how many calls are performed to the custom event. It only prints the last index. It does not delay each call with 1 second, just the last call.
It seems like both delay and SetTimer are reset if another call is performed before the timer / delay is finished.
But I would like it to delay each call with 1 second. So it should print for each call but with 1 second delay.