I am trying to design an inventory menu and have been experimenting with different GUI elements in Godot 3.0.
I notice that if I create a scene consisting of a Container
and three Buttons
, Godot will automatically do input processing and change the focus of the buttons depending on whether I press up or down.
Is there a way to get this kind of automatic input processing for scrolling through items in an ItemList
?
I notice that items don't have a focus attribute. Rather, they can be selected or not. This leads me to believe that there is no automatic input processing I can use to scroll through them. Must I write my own input processing to allow a user to scroll through items? For example, using ItemList.select()
?