Timer Utility

A kind of a "stopwatch"

timer_util.getTimer()

Returns a Timer Object with methods

// will print "foo" every second (1000 ms)
var timer = timer_util.getTimer();
if(timer.delay(1000){
    print("foo")
    timer.reset();
}

Last updated