mouse.getPos() units returned in pix rather than default units height

I am using mouse.getPos() in JS and it is giving me the correct mouse position but in pix.

My default Window unit is set to height and I would like the mouse position in height so it can be relative across screens.

Any ideas?