Switch
A toggleable switch control that is either on or off.
Import
xml
<import component="EvoSC.Controls.Switch" as="Switch" />
Properties
Name | Type | Default | Description |
---|---|---|---|
id | string | None | The ID of the switch. |
x | double | 0.0 | The X position of the switch. |
y | double | 0.0 | The Y position of the switch. |
value | bool | false | The initial value of the switch. |