Topic was automatically imported from the old Question2Answer platform.
Asked By
spookycoopy
i just want godot to crash the game
Do you want it to crash or close the game?
Because if you close the game at a point the player won’t expect it,
they will think it crashed so you don’t even need to crash it.
I cannot imagine any reason you’d want to crash a program on purpose other than reproducing a bug (which this is clearly not about!). So I assume your actual question is how to quit the game, in which case the answer is the following line of code: