10-09-2023, 10:44 PM
@James D Jarvis
yes if you track _mousebutton() it can give the input only at the position where mouse is . So it gives input only for window pointed by mouse cursor.
MouseX and MouseY give the exact position of the mouse in the window that is monitoring the mouse, but if the pointer of the mouse is out o f the window they return the last position on that window.
MousemovementX and MousemovementY return the relative movement of mouse along X and Y axises.
yes if you track _mousebutton() it can give the input only at the position where mouse is . So it gives input only for window pointed by mouse cursor.
MouseX and MouseY give the exact position of the mouse in the window that is monitoring the mouse, but if the pointer of the mouse is out o f the window they return the last position on that window.
MousemovementX and MousemovementY return the relative movement of mouse along X and Y axises.