Skip to main content
Tap Trigger

A single trigger that fires when the user taps an object.

Updated over 3 weeks ago

Overview

Tap triggers fire when the user’s finger leaves the screen within the boundary of a tapped object. You can change the required number of fingers and taps.


Trigger Properties

Number of Taps

Sets how many taps are required to fire the Tap trigger. Choose between a single, double, or triple tap.

Number of Fingers

Set how many fingers are required to fire the Tap trigger. Choose up to four fingers.

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 object the trigger is on.

Location Y

trigger.locationY

Vertical location of your finger in relation to the object the trigger is on.

Number Of Taps

trigger.numberOfTaps

Number of taps set on the trigger.

Number Of Fingers

trigger.number of fingers

Number of fingers set on the trigger.

Is Enabled

trigger.isEnabled

Whether the trigger is enabled or disabled.


Example Projects

Projects

Videos

Tutorials

Did this answer your question?