# Common UI Notes

**URL:** <https://forums.unrealengine.com/t/common-ui-notes/665363>\
**Category:** UI\
**Tags:** unreal-engine, Widget, UMG\
**Created:** [October 9, 2022, 1:39am UTC](https://forums.unrealengine.com/t/common-ui-notes/665363 "2022-10-09T01:39:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [October 11, 2022, 3:05pm UTC](https://forums.unrealengine.com/t/common-ui-notes/665363/4 "2022-10-11T15:05:40Z")

</div>

**Focus is lost after I click anywhere on the screen!**

If you have some keys bound (like press esc to exit a menu) and they won’t register after you click somewhere in the screen (and one of your focusable buttons is not hovered and you are not using gamepad), here is simple fix:

On the main overlay or canvas panel, just set it to Visible rather than non-hit testable.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/5/2451d43a6c6b40da169e3ee817cfd009f445a6dd.png)

This ensures that you cannot click off of the current activated widget, so focus is never lost. That’s what I assume anyways - I just make the things work,dunno what exactly is happening under the hood.

---

_[View the full topic](https://forums.unrealengine.com/t/common-ui-notes/665363)._
