I’m having trouble using the tab key to drive functions in my PlayerController blueprint.
In my test project, I’m just drawing a debug string at (0,0,0), which works perfectly if I have no UI elements on the screen. But when I add a UserWidget on the screen, pressing tab will set focus to that widget on the first time, and any movement input will immediately stop (WASD controls). Subsequent tab presses will work just fine, until you click into the game again. Here’s the PlayerController blueprint:
I know from [this answer] that I can uncheck Is Focusable to prevent this from happening, but it’s a pain to have to do this for every button and any other widget that can be focusable. Also, sometimes I DO want the widget to be focusable, so unchecking the Is Focusable won’t be an option there.
Is there any way to prevent Tab from focusing and just have it behave like any other keypress?
You can download the test project here: [TabTest]
I can confirm this works in 4.11! I had to toggle the IsFocusable checkbox, compile the blueprint, the toggle it once more to get my desired IsFocusable state, then recompile for all my UMG widgets. Strangest fix but tab totally works now.