ResetTimer(id[, time])
Using ResetTimer()
to clear a timer is generally faster than starting
a new using StartTimer(), so you should use ResetTimer()
if you can.
StartTimer(1) Wait(1000, #MILLISECONDS) Print(GetTimer(1)) ResetTimer(1, 2000) Print(GetTimer(1))The code above will start a new timer 1, wait a second and then print the state of the timer which should be 1000 or a few milliseconds more. Then the timer state is set to 2000 milliseconds and printed again. This time it should be 2000 or a few milliseconds more.