mousestate - remove object size when hover

Wil's icon

HI. When I hover over an object and get mouse position x y (horizontal/vertical)

I want to remove the size of the object from the results

only get mouse position when object is dragging

See the example

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

TFL's icon

I'm not sure but it sounds like what you want is the position of the panel in screen space, so window_position + panel_position.

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

Or if you just want the mouse position only when dragging, you can use hover + click state to open/close your gate:

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

Wil's icon

Thanks - #1 is correct.