Controller not working with UI buttons

Godot Version

4.3

Question

I have made a pause menu for my game, and I want to allow the player to be able to navigate the menu with a controller.

When the pause menu is opened, I cannot navigate through the buttons with a controller, until I click a disabled button, and then I can use this. Is there a way to make the player be able to use the controller on the menu.

Did you grab_focus() on a button? Controller/keys won’t work until one item has focus.

1 Like

Yeah, I tried that, but it focuses on the button, and then wont allow the user to move the focus to other buttons

Did you set the top/bottom/left/right next focus properties for you buttons?

No, I tried setting that up and it did nothing. The main problem is that it wont focus on the buttons at all, unless I click on one of the deactivated buttons first. But the button won’t be deactivated forever, and I don’t want to have to leave a random deactivated button for the player to have to click with a mouse to use the controller at all