0 votes

Currently, there is no way to select through items in an ItemList node with a gamepad only. It requires a mouse click on an item first, then it's possible to go through the list with uievent inputs.
The .select(idx) method won't cut it neither, it shows a border on the "selected" item but it won't receive ui
event inputs
In ItemList.cpp, mouse click event call .set_current(idx) to actually select an item but it's a private method.
Any way to use ItemList without a mouse?
Thank you.

Godot version 3.2.3
in Engine by (29 points)

1 Answer

0 votes
Best answer

Answered my own question, i just have to grab the node focus to get it to work !
So MyItemListNode.grab_focus()

by (29 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.