<- PRPL reference <- Timers

GetTimer0

ArgumentsResultNotation
int [ - int ]

Description

Gets the current value of timer 0. Timers are set to some value, and then decrease by 1 each game frame (even if the core is in a Delay).

Examples

if (GetTimer0 eq0) 
    trace(GetUpdateCount) 
    SetTimer0(30) 
endif