The timeout function is built into gameUtils.Game and is therefor accessible just by calling the following within your game:
gameUtils.Game
self.timeout(timeoutID, delay)
# The onEvent function in your Game object def onEvent(self, event): if event.type == gameUtils.Timeout: print(f'Timeout {event.timeoutID} just fired.')
if self.awaitingTimeout(timeoutID): ...
Deleting the wiki page "Timeouts" cannot be undone. Continue?