Getting XY position of matrix with mouse

Omri Blau's icon

Hey guys,
I need to get the X and Y position of the matrix (like getcell) but with the mouse position (something like suckah but for XY and not ARGB).
Mousestate is no good because i need the position according to the size of the window/screen.
Any ideas?

Cheers
you're awesome

Pedro Santos's icon

Max Patch
Copy patch and select New From Clipboard in Max.

Omri Blau's icon

Yes! thanks so much :)