Help required concerning GUI compatibility with console

Hello All! Recently I’ve created a shop GUI for a game configured with multi-platform support.
However, I do not understand how to make GUI objects compatible with console. I do not
own a console and don’t understand how the player is meant to navigate GUI menus on said console.
From what I’ve picked up you are meant to use GUIService for this. But, I don’t quiet understand it.

To summarize I am looking for someone to explain/clarify to me how I should actually go about implementing console support for a GUI menu. :slight_smile:


Here is the menu in reference to:
01aa4f230a84df9a2b33b638ea7df520

3 Likes

You might want to have a look at the Gamepad Input documentation it will help you to Implement the Console Support. :slightly_smiling_face:

https://developer.roblox.com/en-us/articles/Gamepad-Input

1 Like

I believe that there is a system already built in which lets them select GUI objects but I might be wrong.

2 Likes

GuiElements such as buttons, labels etc. have properties called NextSelection which indicates where the ‘selection’ cursor would go if they pushed that button on the D-Pad/Right Stick

To focus a button while on a gamepad use:
GuiService.SelectedObject = element
(setting it to nil will remove selections)

You can enable/disable automatic selection using
GuiService.AutoSelectGuiEnabled

3 Likes