1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

SelectionBehavior

Customization options for gamepad selection when GuiBase2d.SelectionGroup is true.

Items

NameValueDescription
Escape0Prioritizes GuiObjects within the same SelectionGroup but allows the selection to move to other outside GuiObjects if no suitable button is found.
Stop1Constrains gamepad selection to the SelectionGroup.

Escape

Prioritizes GuiObjects within the same SelectionGroup but allows the selection to move to other outside GuiObjects if no suitable button is found.

FieldValue
value0

Stop

Constrains gamepad selection to the SelectionGroup.

FieldValue
value1