Quit/Kill Node?

Is there a quit or kill node to simply end end the game?
Say… if esc it pressed… quit/kill game and close window.
That sort of thing.
Thanks in advance.

yeah just add a “on keyboard” node with the “shutdown” node, to a script and assign it to your player.

Edit: for some reason i cant get the escape key to work in the On keyboard node with anything, not sure if it is the same for anyone else. just assign a different button and it will work.

Thanks so much.