How would I got about creating a blueprint so a player can quit by pressing "esc"?

Hi, i’m just wondering how you would go about putting in so that the player presses the “esc” key the game quits. I haven’t been able to find any nodes for quitting the application.

As far as I know, the simplest way of doing this is by using an “Execute Console Command” node, like this:

4713-quit.jpg

Ok, i’ll give that a shot. Any specific place i need to place the nodes or they can be on any blueprint/graph?

I think the best place to put it is in the level blueprint :slight_smile:

Alright, thanks!

Seems there is a quit function as well, so I guess that`s the way to go :slight_smile:

4716-quit2.jpg

Alright, i’ll use that one :slight_smile: