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
| Name | Value | Description |
|---|---|---|
| Escape | 0 | Prioritizes GuiObjects within the same SelectionGroup but allows the selection to move to other outside GuiObjects if no suitable button is found. |
| Stop | 1 | Constrains 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.
| Field | Value |
|---|---|
| value | 0 |
Stop
Constrains gamepad selection to the SelectionGroup.
| Field | Value |
|---|---|
| value | 1 |