# is it possible to handle esc key in the logic with ue5.3.2, rather than hijacked by the editor?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-handle-esc-key-in-the-logic-with-ue5-3-2-rather-than-hijacked-by-the-editor/1776989>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [March 29, 2024, 3:24am UTC](https://forums.unrealengine.com/t/is-it-possible-to-handle-esc-key-in-the-logic-with-ue5-3-2-rather-than-hijacked-by-the-editor/1776989 "2024-03-29T03:24:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8](https://forums.unrealengine.com/u/user_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8)\
**Post date:** [March 29, 2024, 3:24am UTC](https://forums.unrealengine.com/t/is-it-possible-to-handle-esc-key-in-the-logic-with-ue5-3-2-rather-than-hijacked-by-the-editor/1776989/1 "2024-03-29T03:24:02Z")

</div>

my game need to show ui and then press escape to enter the 3d scene again. but if i press escape, the play just ended.

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [March 29, 2024, 3:52am UTC](https://forums.unrealengine.com/t/is-it-possible-to-handle-esc-key-in-the-logic-with-ue5-3-2-rather-than-hijacked-by-the-editor/1776989/2 "2024-03-29T03:52:26Z")

</div>

> [@How to disable Esc key in PIE mode?](https://forums.unrealengine.com/t/how-to-disable-esc-key-in-pie-mode/43049/9):
>
> 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. Edit (2024): This method works for both Unreal Engine 4 & 5.

---

<div class="post-metadata">

**Author:** ![user\_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8](https://forums.unrealengine.com/u/user_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8)\
**Post date:** [March 29, 2024, 4:04am UTC](https://forums.unrealengine.com/t/is-it-possible-to-handle-esc-key-in-the-logic-with-ue5-3-2-rather-than-hijacked-by-the-editor/1776989/3 "2024-03-29T04:04:21Z")

</div>

thank u very much

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 28, 2024, 4:04am UTC](https://forums.unrealengine.com/t/is-it-possible-to-handle-esc-key-in-the-logic-with-ue5-3-2-rather-than-hijacked-by-the-editor/1776989/4 "2024-04-28T04:04:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
