Get mouse native position (or application window position on monitor)
HI everyone, I'm working on some UX need to detect standalone window position. After researching, I see no method to get what I want. So I try to another way: Get mouse position, relate to monitor (actual screen, not gameplay screen), then I can detect standalone window position. I even try Unity's new InputSystem but I end up with same result. I see some post that use "user32.dll", but it not work on OSX. Is there any way to get this mouse native position (or standalone window position on monitor)?, and work both on Windows and OSX? Thank you guys very much!
Your answer
Follow this Question
Related Questions
Switching between mouse/keyboard and controller for UI navigation (using Input System) 0 Answers
Porting to mobile how to assign input manager axes to GUIButtons. 0 Answers
What can i change here to have mobile UI button input? 0 Answers
Control UI Input Field entirely with code? 1 Answer
Block Input.GetMouseButtonDown() when clicking on UI element 2 Answers