<- PRPL reference <- Timers

GetTimer1

ArgumentsResultNotation
int [ - int ]

Description

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

Examples

if (GetTimer1 eq0) 
	trace(GetUpdateCount) 
	SetTimer1(30) 
endif