Switch
A switch is a component that has two settings, true and false. You can get your app to do specific tasks based on the value of the switch.

Property | Description | Data Type |
---|---|---|
Value | Initial value of Switch | True/False |
Tint Color | Color of background when Switch is false | Color |
On Tint Color | Color of background when Switch is true | Color |
Thumb Tint Color | Color of the Switch's slider | Color |
Disabled | Toggle whether value Switch can be changed by user | True/False |
Property | Description | Data Type |
---|---|---|
X | Location of top left corner of Switch on X-axis, where the left hand side is X=0 | Number |
Y | Location of top left corner of Switch on Y-axis, where the top side is Y=0 | Number |
Height | Height of Switch in pixels | Number |
Width | Width of Switch in pixels | Number |
Resize Mode | Define dimensions of the Switch's component/container | Select from list [Stretch, Float in Place] |

This event fires every time the switch is clicked.
Returns
newValue
output block, which returns the new value of the Switch (true
or false
).









Last modified 7mo ago