Mouse cursor position relatively to the window?

Hello,

I try to get the coordinates of the mouse cursor relatively to the window in which the project is running. With this I will be able to track the cursor and to do effects right below it.

The thing is the cursor position is given relatively to the screen.
Someone has an idea on how I can do that? Or how I can get the position of the current window (the one that opens when the project is run)?

Thanks a lot

I believe if your final output going to your Window COMP/perform COMP is a Container, then you have use the Panel CHOP to get the UV position of the mouse.

Thanks a lot, it works really well :slight_smile:

No problem. Enjoy!