Reference Manual: (offline | online) Quickstart: (offline | online)

ui.timer

Example

# Jump to too_slow if the next interaction lasts longer than 30 seconds. Note that 
# this is a really bad thing to do in menus, since people may read your game at
# different paces.

$ ui.timer(30.0, ui.jumps("too_slow"))
Reference Manual: (offline | online) Quickstart: (offline | online)