Skip to main contentOverview
An Edge Pan trigger fires when the user moves their finger across the screen, starting from one of the device’s edges. Edge Pan triggers can fire once when the pan begins, continuously while the user pans, or once when the pan gesture ends.
The difference between an Edge Pan trigger and a Pan trigger is whether the pan begins at the edge of the screen or elsewhere on the screen.
Trigger Properties
State
Set the trigger to fire when the edge pan begins, while panning, or when the pan ends:
- Began: Fires once when the user begins a pan gesture from the device’s edge.
- While Panning: Fires continuously as the user moves their finger.
- Ended: Fires once when the user stops panning.
Edge
Set if the trigger should fire when the pan starts from the Top, Bottom, Left, or Right edge.
Is Enabled
Set if the trigger should fire when the trigger’s conditions are met.
Expression Editor Properties
Delta X
Distance your finger moves horizontally from A to B.
Delta Y
Distance your finger moves vertically from A to B.
Location X
Horizontal location of your finger in relation to the object the trigger is on.
Location Y
Vertical location of your finger in relation to the object the trigger is on.
Translation X
Horizontal distance of the pan: Left (-) and Right (+).
Translation Y
Vertical distance of the pan: Left (-) and Right (+).
Velocity X
Horizontal velocity of your finger while panning.
Velocity Y
Vertical velocity of your finger while panning.
Translation Percent X
Percent based on the distance the user pans vertically within the boundary of the object the trigger is on. This is a 0 - 1 value.
Translation Percent Y
Percent based on the distance the user pans vertically within the boundary of the object the trigger is on. This is a 0 - 1 value.
Is Enabled
Whether the trigger is enabled or disabled.
Resources
Projects:
Videos: