Patches

Switch

Switch

An iOS switch with customizable colors.

Use the Touch button on the component to get the state of the switch.

Switch

  • Enable
  • Position
  • Anchor
  • Tint Color
  • Opacity
  • Turn On
  • Turn Off
  • On / Off

Enable

A boolean that is true when the switch is displayed.

Position

The position to display the switch.

Anchor

The anchor point to position the switch relative to. See Coordinates for more information.

Tint Color

The color of the switch background when turned on.

Opacity

The opacity of the switch.

Turn On

A pulse that turns the switch on.

Turn Off

A pulse that turns the switch off.

On / Off

A boolean that is true when the switch is on.