The DOMPoint interface's x property holds the horizontal coordinate, x, for a point in space.
DOMPoint
x
MDN Reference