How to move a ScrollBar in GDScript?
(For Godot 3.0)
So docs for ScrollBar and ScrollContainer are very scant. It appears that, like a few other controls, the scroll bar is set up to work exclusively with mouse input, but I'm making a game that uses joypads only. Changing
ScrollContainer.scroll_vertical directly does not work, nor does calling
Essentially, I have recreated the ItemList node from scratch to work with joypad input, and what I need is to mirror the functionality of
ItemList.ensure_current_is_visible(). To even start to do that, I need to be able to move the scroll bar from code. It would be a real chore to have to recreate the entire functionality of ScrollContainer as well =/ Can anyone help?