Skip to main content

Overview

Switch Event triggers fire when the user toggles a native switch on and off. You can choose which event the trigger should fire.
NoteSwitch Event triggers will only work when added to a native switch.

Trigger Properties

Event

Set the trigger to fire when the switch is on, when the switch is off, or when the switch’s value changes:
  • Is On: Fires when the switch is turned on.
  • Is Off: Fires when the switch is turned off.
  • Any: Fires when the switch’s value changes.

Is Enabled

Set if the trigger should fire when the trigger’s conditions are met.
trigger.isEnabled
Type: boolean
Values:
true = enabled
false = disabled
Can get or set the value.
I