files/en-us/web/api/touch/index.md
{{APIRef("Touch Events")}}
The Touch interface represents a single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.
The {{ domxref("Touch.radiusX") }}, {{ domxref("Touch.radiusY") }}, and {{ domxref("Touch.rotationAngle") }} describe the area of contact between the user and the screen, the touch area. This can be helpful when dealing with imprecise pointing devices such as fingers. These values are set to describe an ellipse that as closely as possible matches the entire area of contact (such as the user's fingertip).
[!NOTE] Many of the properties' values are hardware-dependent; for example, if the device doesn't have a way to detect the amount of pressure placed on the surface, the
forcevalue will always be 0. This may also be the case forradiusXandradiusY; if the hardware reports only a single point, these values will be 1.
This interface has no parent, and doesn't inherit or implement other properties.
Touch object. A given touch point (say, by a finger) will have the same identifier for the duration of its movement around the surface. This lets you ensure that you're tracking the same touch all the time.clientX, this value includes the horizontal scroll offset, if any.clientY, this value includes the vertical scroll offset, if any.screenX.screenY.float between 0.0 (no pressure) and 1.0 (maximum pressure).0 (parallel to the surface) to π/2 (perpendicular to the surface). Defaults to 0 for hardware that does not report tilt or angle.0 to 2π. 0 represents a transducer whose cap is pointing in the direction of increasing X values on the X-Y plane, and values increase clockwise."direct" for a finger or "stylus" for a pen device.This interface has no methods and no parent, and doesn't inherit or implement any methods.
{{Specifications}}
{{Compat}}