The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space.
DOMPointReadOnly
x
MDN Reference