Escape key exits game for "Play" in editor

How do I disable escape key exiting the game when I do “Play” in the editor?

It used to be disabled for New Editor Window (PIE), but with UE 4.13, this is broken. By broken, I mean pressing Esc key quits - which I don’t want.

We’re running into this as well; it seems that in 4.12, Escape worked properly when running in New Editor Window - PIE, but in 4.13, it exits the game.

Same here.

defaultInput.ini:
-DebugExecBindings=(Key=Escape,Command=“CloseEditorViewport”)

Not working anymore? Epics stuff, please fix it…

1 Like

In case anyone comes across this topic via a search engine, in UE4.24 you can disable this via Editor Preferences > General > Keyboard Shortcuts, then under the “Play World (PIE/SIE)” section it’s near the bottom listed as “Stop”. Just clear that binding and the escape key will no longer quit PIE

18 Likes

Thank you, this was helpful!

Thank you. This should be marked as the answer.