# UMG: How to disable TAB and Keyboard Nav keys ??

**URL:** <https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [May 31, 2015, 4:59am UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365 "2015-05-31T04:59:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macw0lf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Macw0lf](https://forums.unrealengine.com/u/Macw0lf)\
**Post date:** [May 31, 2015, 4:59am UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/1 "2015-05-31T04:59:44Z")

</div>

Hi, I have a UMG widget with a menu for an Inventory system. I am using buttons as menu items, but only want to support mouse click, not Nav keys. I have set all Navs at all levels to STOP, but somehow TAB is still working which is causing issues with loss of focus.

If TAB is used inside the menu, I am unable to catch the close menu keypress and close the menu.

Ideally I would like to use TAB to get into and out of the menu, but am currently using Key “I” until I figure out how to disable TAB inside UMG.

Appreciate any help.

Thanks Stuart

---

<div class="post-metadata">

**Author:** ![NickDarnell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NickDarnell](https://forums.unrealengine.com/u/NickDarnell)\
**Post date:** [May 31, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/2 "2015-05-31T13:41:40Z")

</div>

Didn’t expose them (Next/Previous) in 4.8, just checked in a fix for 4.9. In the mean time, you can prevent it from triggering navigation by handling it first. If you make a widget that overrides OnPreviewKeyDown, check if it’s Tab, and return Handled (otherwise return Unhandled), you’ll prevent the navigation system (or anyone child widget) from handling that key.

---

<div class="post-metadata">

**Author:** ![Macw0lf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Macw0lf](https://forums.unrealengine.com/u/Macw0lf)\
**Post date:** [May 31, 2015, 9:16pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/3 "2015-05-31T21:16:46Z")

</div>

Thanks, I’ll give this a go.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c3c86073](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c3c86073](https://forums.unrealengine.com/u/anonymous_user_c3c86073)\
**Post date:** [March 11, 2016, 4:48pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/4 "2016-03-11T16:48:46Z")

</div>

I think you will you only have to edit your \*\*Focus \*\*property in ProjectSettings - Engine - User Interface . just set the Focus propert to Never , and Tab button won’t be able to navigate through your Menus anymore. Sorry if I’m too late !. Just hope this would help anyone stumbles upon this thread in the future !.

---

<div class="post-metadata">

**Author:** ![Chama-PoisonGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chama-poisongames/32/466529_2.png) [@Chama-PoisonGames](https://forums.unrealengine.com/u/Chama-PoisonGames)\
**Post date:** [April 29, 2020, 7:40pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/5 "2020-04-29T19:40:49Z")

</div>

It’s really helpful.Saying Thank you very much from the future.

---

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [August 6, 2021, 5:04pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/6 "2021-08-06T17:04:03Z")

</div>

See [Annoying bugs with UMG focus (with Is Focusable? on all widgets false) - #4 by Ixiguis](https://forums.unrealengine.com/t/annoying-bugs-with-umg-focus-with-is-focusable-on-all-widgets-false/60280/4)

---

<div class="post-metadata">

**Author:** ![Faze\_Kaas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Faze\_Kaas](https://forums.unrealengine.com/u/Faze_Kaas)\
**Post date:** [January 5, 2023, 3:40am UTC](https://forums.unrealengine.com/t/umg-how-to-disable-tab-and-keyboard-nav-keys/31365/7 "2023-01-05T03:40:18Z")

</div>

I have it set to never but for me tab still works, any idea why that is?
