Wait (Kernel)

Wait(ticks)

This waits (halts the game) for the specified number of ticks. Since the interpreter is on 60Hz beats, a Wait(60) is equivalent to one second. It returns the time passed between the end of the last Wait() call, and the current one.

Parameters:ticks (number) – The number of ticks to wait.

Example:

(Wait 120) ; Waits for two seconds

See also: GetTime().