stop Countdown

Stops the countdown timer but gameplay continues.

info.stopCountdown()

When you stop the game timer the game continues but the there is no more time limit. You can’t resume the countdown from the previous time. You must start the countdown again to reset a time limit for the game.

Example

Set the game time to 30 seconds. Wait 5 seconds, stop the countdown, wait 2 seconds and end the game.

info.startCountdown(30)
pause(5000)
info.stopCountdown()
pause(2000)
game.over()

See also

start countdown, on countdown end