layerY

The MouseEvent.layerY read-only property returns the vertical coordinate of the event relative to the current layer.

MDN Reference