- Home /
Question by
csisy · May 14, 2015 at 03:29 PM ·
mousemouseposition
Get mouse position outside of the main window
Hi,
When the mouse hits the edge of the screen, the camera moves. This is the base and it's working, nothing complicated.
However, when I run my standalone and it's running in windowed mode, the mouse position is not updated if the cursor isn't inside of the application's window. Sometimes the scrolling is okay, beucase when the last Update occurred, the mouse position was inside the "scrolling region".
Any ideas how can I acquire the mouse position in this case?
Thanks
Comment
Your answer
Follow this Question
Related Questions
Tracking the mouse off-window 1 Answer
Inconsistent Mouse Related Behavior in 2D 1 Answer
How do i create an object with a GUI Button 1 Answer
4.6 UI Image follow mouse position? 4 Answers
Getting mouse coordinates on sprite 1 Answer