- Home /
Basic question about creating a menu
Is there a way to make it so that when the button all the way at the top of a menu is selected, and the user presses the up key, the button all the way at the bottom is selected? And if the button at the bottom is selected and the user presses the down key, the button all the way at the top is selected?
Comment
Answer by JaimeBGarcia · Apr 11, 2018 at 06:25 AM
Hi! Try to use an Array or List, including all the buttons you have in the menu and you want to be selected when pressing the up/down keys. Just when you are at the last element of the array/list, type you want to go to the first one. And viceversa.