Runs the enclosed blocks after the given delay (in seconds).
Runs the enclosed blocks every N seconds.
Triggers whenever the game is paused or unpaused.