I've been trying to add full controller support to my game, and I think that in order to navigate the menus I first need to set up the grab_focus()
stuff but my game will black screen whenever I pause or die with this code enabled. Any tips? Following is from the death screen.
func _ready():
$Menu/PlayButton.grab_focus()
if Input.is_action_pressed("ui_focus_next"):
$Menu/ChangeSceneButton.grab_focus()
elif $Menu/ChangeSceneButton.grab_focus() == true:
$Menu/QuitButton.grab_focus()