This feature is not Baseline because it does not work in some of the most widely-used browsers.
Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.
A number.
The Touch.screenX example includes an example of this property's usage.
| Specification |
|---|
| Touch Events> # dom-touch-screeny> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
screenY |
22 | ≤18 |
52This interface is only exposed if a touch input device is detected.18–24Removed in bug 888304 due to web compatibility issues. |
15 | No | 25 | 6 | 14 | 10 | 1.5 | 4.4 | 10 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY