Skip to main content
All CollectionsInteractions
Segmented Control Event Trigger
Segmented Control Event Trigger

A single trigger that fires when the user interacts with a native segmented control.

Updated over 3 weeks ago

Overview

Segmented Control Event triggers fire when the user selects one of the segments in a native segmented control. You can choose whether the trigger fires when a particular segment is selected or when any segment is selected.

Note: Segmented Control Event triggers only work when added to a native segmented control.


Trigger Properties

Event

Set the trigger to fire when a particular segment is selected or when any segment is selected:

  • Any Segment: Fires when any segment is selected.

  • Index X: Fires when a specific segment is selected.

Is Enabled

Set if the trigger should fire when the trigger's conditions are met.


Expression Editor Properties

Location X

trigger.locationX

Horizontal location of your finger in relation to the segmented control.

Location Y

trigger.locationY

Vertical location of your finger in relation to the segmented control.

Is Enabled

trigger.isEnabled

Whether the trigger is enabled or disabled.


Resources


​Projects

Videos

Did this answer your question?