event.x

Type Number
Event relativeTouch
Revision Release 2022.3683
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.