Making and navigating a scroll menu using keyboard

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stubbsy345
:warning: Old Version Published before Godot 3 was released.

Hi, I am trying to create a menu screen for my game in which there is a long list of different options to select. I have tried making it using a scroll box container, but i want to be able to scroll through the options of the menu using the keyboard as oppose to the mouse. Any help would be great. Obviously I will need to store the list in an array and filter through and I can do this but I don’t know how to scroll through to the options not already shown. What i mean is say there are 10 labels, 5 of which can be shown on the menu screen at any one time, how can i scroll past the 5th option and move the whole list up one so that all the options can be accessed.

Thanks

:bust_in_silhouette: Reply From: keikochan2k1

void set_h_scroll ( int val )
Set horizontal scroll value.

void set_v_scroll ( int val )
Set vertical scroll value.