# UMG - disable TAB and Nav keys?

**URL:** <https://forums.unrealengine.com/t/umg-disable-tab-and-nav-keys/320243>\
**Category:** UI\
**Tags:** focus, unreal-engine, question, UMG\
**Created:** [May 30, 2015, 9:16pm UTC](https://forums.unrealengine.com/t/umg-disable-tab-and-nav-keys/320243 "2015-05-30T21:16:25Z")\
**Posts on this page:** 3\
**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 30, 2015, 9:16pm UTC](https://forums.unrealengine.com/t/umg-disable-tab-and-nav-keys/320243/1 "2015-05-30T21:16:25Z")

</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:** ![slee1990](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slee1990](https://forums.unrealengine.com/u/slee1990)\
**Post date:** [July 15, 2015, 6:51pm UTC](https://forums.unrealengine.com/t/umg-disable-tab-and-nav-keys/320243/2 "2015-07-15T18:51:28Z")

</div>

I am not sure if you’re still having this problem but here is a solution I recently came up with:

There is one setting and one variable that need to be disabled to stop buttons from accepting keyboard inputs. At the very bottom of the details panel in the designer is a setting called “Is Focusable” which you need to turn off for each button or other selectable widget in your menu. The variable is “bSupportsKeyboardFocus” in the behavior category. I’ve included screenshots of both of these below.

Hope this helps,

Spencer

 ![50335-isfocusable.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/f/55f8e613cfcdd79367e70ba78bf131002443bcec.png)

![50334-bsupportskeyboardfocus.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/9/5b914c3e6d38c913b522caadf118cedc57bf17bc.png)

---

<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-disable-tab-and-nav-keys/320243/3 "2021-08-06T17:04:49Z")

</div>

Alternative that doesn’t require you to change settings on every widget:

> [@Annoying bugs with UMG focus (with Is Focusable? on all widgets false)](https://forums.unrealengine.com/t/annoying-bugs-with-umg-focus-with-is-focusable-on-all-widgets-false/60280/4):
>
> Update: in more recent UE versions, you just have to add this to your PlayerController’s BeginPlay: void AMyPlayerController::BeginPlay() { Super::BeginPlay(); if (IsLocalPlayerController()) { TSharedRef\<FNavigationConfig\> Navigation = MakeShared\<FNavigationConfig\>(); Navigation-\>bKeyNavigation = false; Navigation-\>bTabNavigation = false; Navigation-\>bAnalogNavigation = false; FSlateApplication::Get().SetNavigationConfig(Navigation); } } No need to create a new input processor.
