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