W3cubDocs

/Web APIs

MouseEvent: x property

The MouseEvent.x property is an alias for the MouseEvent.clientX property.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
x 1 12 53 9 ≤12.1 3.1 ≤37 18 53 ≤12.1 2 1.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/x