The relative distance that must be travelled before the gesture automatically completes.

The default when Type != Active is 1, meaning the user must travel, or swipe with enough velocity, to cover the full distance. When Type == Active the default is 0.5, meaning the panel will automatically open/close when the half-way point is reached.

A separate value for activation and deactivating can be specified. The first value of the float2 is the activation threshold, and the second value the deactivation threshold.

Location

Namespace
Fuse.Gestures
Package
Fuse.Gestures 2.9.1

Returns

float2