Is it possible to get mouse coordinates on the viewport?

   1010   0   0
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
Given a double display setup, with one Scene View panel on each display,
I would like to know which sceneviewer() the cursor is on, and what are the (x,y) mouse coordinates relative to the viewport of that sceneviewer.
Do you know if this is possible at all?

I guess I could do something with the Mouse CHOP node and mapFromMouseChop() function, but Mouse Chop seems to be registering only the position of the mouse in the main Display. It's not aware of the second display.

Any help is much welcome!
cheers
  • Quick Links