Summary

Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.

Syntax

var y = touchItem.screenY;

Return value

y
The Y coordinate of the touch point relative to the screen, not including any scroll offset.

Example

The Touch.screenX example includes an example of this property's usage.

Specifications

Specification Status Comment
Touch Events – Level 2 Draft Non-stable version.
Touch Events Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support22 Yes

521

18 — 242

No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes6 Yes Yes ?

1. Touch events support has been fixed and reenabled in Windows desktop platforms.

2. Web compatibility issues seen in bug 888304.

Document Tags and Contributors

Last updated by: fscholz,