Skip to main content

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.
NoteSegmented 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

Grid Prefab

Videos

Customize a Grid Prefab with a Segmented Control

I