# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](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)._
