PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

SelectedObject

GuiService

GuiObject

Sets the GuiObject currently being focused on by the GUI Navigator (used for Gamepads). This may reset to nil if the object is off-screen.

This property is changed by the GuiObject/SelectionGained and GuiObject/SelectionLost events.

If you would like to determine when this property changes without tracking the SelectionGained and SelectionLost events for all GUI elements, you can use the Instance/Changed|Changed event.