UMG - disable TAB and Nav keys?

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

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

50334-bsupportskeyboardfocus.png

5 Likes

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

1 Like