how to set the focus on a widget

Hi, I’m creating a simple menu, and when the game starts, the menu is on the screen and functional however I can’t navigate with the xbox controller. I’ve notice that when I click in some button I begin to navigate with the controller with no problem. How can I set to use the controller from the began (without having to click in some button)??

I strongly suspect that has some to do with the Focus system, but I have no idea how to solve.

Thx for the help!!

Use “set input mode to game and UI”, and select the widget where you want focus to go initially.

but weare I’m supose tu put that?? in the level BP??? on the widget it self???

I’ve tried this but no result.

I’d put it in the widget after construct, and specify the button. the approach you’re using will try to focus on the whole widget, which most likely isn’t focusable.

hmmm thx man, now the button is working. =D…
just need to figure how to move to one buton to another and give the feed back. Any ideas?

Just using the controller will allow you to “tab” between buttons. It’s not really implemented very well yet.

not working on mine… just tab and shift tab working

1 Like