event.x

Type Number
Event relativeTouch
Revision Current Public Release (2017.3068)
Keywords touch, relativeTouch, x

Overview

The x position in device coordinates of the relative touch.

Gotchas

Relative touch events gather input from the device itself, similar to axis events. The values from a laptop's touchpad and the tvOS remote may differ wildly.