What is TextButton.Selected for?
I don’t see any difference in the Gui with this property.
What is TextButton.Selected for?
I don’t see any difference in the Gui with this property.
A boolean property which indicates whether the object has been selected.
It tells you if player has selected the button or not.
If I understand it correctly, it is used with gamepads (Xbox) to denote whether a player is currently selecting that box (but not necessarily clicking it), since Xbox uses a list-based selection system. It is used in conjunction with NextSelectionDown, NextSelectionUp, NextSelectionRight, and NextSelectionLeft.
It’s relevant for console users who have to use a gamepad and can’t click on e.g. menu options.
I think it’s for how, when Xbox users have the button highlighted? I think I understand what it’s use is, since I play on controller sometimes.