I noticed mouse movement stops working when I have a button pressed
So I have a custom interface using screen objects, thing is I want my button objects to change icon state when mouse button is released (Mouse Up) or when pointer has exited button.
The problem is that is I keep mouse pressed down exit will not occur.
Any ideas???
May 20 2017, 9:34 am
Best response
|
|
While a mouse button is pressed, MouseDrag() is called instead of MouseEntered(). To check if the mouse left the button, you'd want to compare src with over_object.
|