The x read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect's origin.
x
DOMRectReadOnly
DOMRect
MDN Reference