PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

SelectionGained

Fired when the GuiObject is being focused on with the Gamepad selector.


Code Samples


SelectionGained on GuiObject

The following example prints a message when the user selects the object with a gamepad.

GuiObject.SelectionGained:Connect(function()
	print("The user has selected this button with a gamepad.")
end)