Gamepad - Currently Highlighted Button

I’m making a Gui menu that reacts to the mouse hovering over buttons, and I’d like something similar to happen when a button is highlighted with the built-in gamepad navigation thingy. Problem is I can’t find any way to determine in a script which button is currently highlighted. I figured the Selected property of a button would do that but it doesn’t change at all (What does that do anyways?)

I guess I could have the script follow along with the default navigation by listening to button presses but I’m hoping there’s an easier way to just see what’s highlighted.

http://wiki.roblox.com/index.php?title=API:Class/GuiService/SelectedObject

4 Likes

Oh that’s easy, thanks

1 Like