You can create an on/off switch, also known as a toggle switch, in your app with a variety of different components and blocks in Thunkable X.
Switch
The switch component is probably the easiest to get started with.
When the switch is clicked, the value changes. The newValue
variable is either true or false, depending on whether the switch is on or off.
In this example, a label is used to display the words “On” or “Off” depending on the position of the string.