API ReferenceSettings.Base
ISwitchSettingBase.SelectedButton
Which side of a Switch is lit.
enum SelectedButtonWhich side of a Switch is lit. Nested in ISwitchSettingBase; write ISwitchSettingBase.SelectedButton.Left or add using static GearsAPI.Settings.Base.ISwitchSettingBase;.
Inheritance: Object → ValueType → Enum → SelectedButton
Declared inside the interface without an explicit public modifier — nested interface types are implicitly public.
Fields
| Name | Value | Description |
|---|---|---|
Right | 0 | The right button, holding RightValue. For a bool switch, true. |
Left | 1 | The left button, holding LeftValue. For a bool switch, false. Also the resting position when the selected value matches neither side. |