# How to disable Esc key in PIE mode?

**URL:** <https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine\
**Created:** [September 27, 2015, 9:11pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049 "2015-09-27T21:11:41Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![NashMuhandes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NashMuhandes](https://forums.unrealengine.com/u/NashMuhandes)\
**Post date:** [September 27, 2015, 9:11pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/1 "2015-09-27T21:11:41Z")

</div>

It seems that when using PIE, the Esc key is hardcoded to stop the game. How do I disable this? I need to set the Esc key to do specific game functions like opening a menu, or going back up 1 level in a menu, or just canceling a player dialog… things like that. I need access to that button without the game quitting.

The answer in [https://answers.unrealengine.com/questions/104774/during-play-in-editor-pie-is-there-a-shortcut-to-s.html](https://answers.unrealengine.com/questions/104774/during-play-in-editor-pie-is-there-a-shortcut-to-s.html) does not work in 4.9.1.

---

<div class="post-metadata">

**Author:** ![NashMuhandes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NashMuhandes](https://forums.unrealengine.com/u/NashMuhandes)\
**Post date:** [September 28, 2015, 7:04am UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/2 "2015-09-28T07:04:10Z")

</div>

I still need an answer to this.

---

<div class="post-metadata">

**Author:** ![BoredEngineer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BoredEngineer](https://forums.unrealengine.com/u/BoredEngineer)\
**Post date:** [September 28, 2015, 11:51am UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/3 "2015-09-28T11:51:35Z")

</div>

Usually I just bind “Esc” key and combination “Ctrl+Q” to the same action, which open main menu and etc. During development I’m used to use “Ctrl+Q” but users always use “Esc” in test builds and they don’t even know about other binding.

---

<div class="post-metadata">

**Author:** ![NashMuhandes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NashMuhandes](https://forums.unrealengine.com/u/NashMuhandes)\
**Post date:** [September 28, 2015, 2:04pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/4 "2015-09-28T14:04:01Z")

</div>

So I guess without changing the engine source, there’s no way to disable Esc key in PIE? The lack of any knowledge or any useful information in search results seems to imply so.

---

<div class="post-metadata">

**Author:** ![NashMuhandes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NashMuhandes](https://forums.unrealengine.com/u/NashMuhandes)\
**Post date:** [September 30, 2015, 10:48am UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/5 "2015-09-30T10:48:26Z")

</div>

Still seeking knowledge on this.

---

<div class="post-metadata">

**Author:** ![Mattlauk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Post date:** [November 21, 2015, 6:05pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/6 "2015-11-21T18:05:11Z")

</div>

Is there seriously not an answer to this? Mods? Devs? maybe type a yes or no answer at least? I guess I’ll dig through the menus and source and see what I find.

---

<div class="post-metadata">

**Author:** ![Jorisp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jorisp](https://forums.unrealengine.com/u/Jorisp)\
**Post date:** [August 7, 2016, 4:54pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/8 "2016-08-07T16:54:06Z")

</div>

Use the “Standalone Game” on the button “play” for testing with escape key.

---

<div class="post-metadata">

**Author:** ![Xaith](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xaith/32/918636_2.png) [@Xaith](https://forums.unrealengine.com/u/Xaith)\
**Post date:** [June 2, 2017, 11:40pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/9 "2017-06-02T23:40:54Z")

</div>

Unreal Engine 4 up to 5.7  
At the top left of the screen, select the ‘Edit’ menu \>\> ‘Editor Preferences’ \>\> ‘Keyboard shortcuts’ tab on the left \>\> Under General Keyboard Shortcuts, search for the 'Play World (PIE/SIE) drop down (or type ‘stop’ in the search), in there you will find a ‘Stop stop simulation’ key input. You can change or delete this key input.

Unreal Engine 5.8+  
At the top left of the screen, select the ‘Edit’ menu \>\> ‘Keyboard shortcuts’ \>\>  
search for the 'Play World (PIE/SIE) drop down (or type ‘stop’ in the search), in there you will find a ‘Stop’ key input. You can change or delete this key input.

---

<div class="post-metadata">

**Author:** ![Xaith](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xaith/32/918636_2.png) [@Xaith](https://forums.unrealengine.com/u/Xaith)\
**Post date:** [July 4, 2022, 12:41am UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/10 "2022-07-04T00:41:36Z")

</div>

If this worked for you, please mark the post as resolved 🙂  
and don’t forget to like the post (with resolution). Thank you

---

<div class="post-metadata">

**Author:** ![LiL-Nase-Xatar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiL-Nase-Xatar](https://forums.unrealengine.com/u/LiL-Nase-Xatar)\
**Post date:** [July 28, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/11 "2022-07-28T15:03:53Z")

</div>

ok guys, to me the problem was i wanted to make a pause menu, when i press esc the menu will appear, but when i press esc the program closes. so the solution is simple, go to the PLAY button and changed it to “Standalone Game” and it will work

---

<div class="post-metadata">

**Author:** ![BIGTIMEMASTER](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bigtimemaster/32/710746_2.png) [@BIGTIMEMASTER](https://forums.unrealengine.com/u/BIGTIMEMASTER)\
**Post date:** [July 29, 2022, 11:52pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/12 "2022-07-29T23:52:46Z")

</div>

dont need to use standalone mode. just change the shortcut key like mentioned above.

---

<div class="post-metadata">

**Author:** ![LiL-Nase-Xatar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiL-Nase-Xatar](https://forums.unrealengine.com/u/LiL-Nase-Xatar)\
**Post date:** [July 31, 2022, 7:49am UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/13 "2022-07-31T07:49:16Z")

</div>

yeah it worked too

---

<div class="post-metadata">

**Author:** ![lingaar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lingaar](https://forums.unrealengine.com/u/lingaar)\
**Post date:** [August 23, 2022, 3:02pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/14 "2022-08-23T15:02:45Z")

</div>

During development you can also use shift+esc to trigger esc input without closing the editor. No need to change shortcuts or play mode.

---

<div class="post-metadata">

**Author:** ![VeryCh1lorine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VeryCh1lorine](https://forums.unrealengine.com/u/VeryCh1lorine)\
**Post date:** [March 29, 2023, 5:44pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/15 "2023-03-29T17:44:36Z")

</div>

Select the ‘Edit’ menu \>\> ‘Editor Preferences’ \>\> ‘Keyboard shortcuts’ tab on the left \>\> search “STOP” and bind with"shift+Esc".

---

<div class="post-metadata">

**Author:** ![uxmond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uxmond/32/1163527_2.png) [@uxmond](https://forums.unrealengine.com/u/uxmond)\
**Post date:** [January 18, 2024, 8:38am UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/16 "2024-01-18T08:38:27Z")

</div>

Very helpful. Thank you.

---

<div class="post-metadata">

**Author:** ![flooferlands](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flooferlands/32/570522_2.png) [@flooferlands](https://forums.unrealengine.com/u/flooferlands)\
**Post date:** [June 3, 2024, 10:28pm UTC](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/17 "2024-06-03T22:28:13Z")

</div>

On Unreal Engine 5.4 the entire engine crashes with EXCEPTION\_ACCESS\_VIOLATION when pressing escape after binding Stop to another key

EDIT: Nvm, it was just my garbage code xD
