void stop()

Stop the game

Source

void stop() => !loaded ? null : world.stop();