dawe69hun Posted January 10, 2012 Share Posted January 10, 2012 Is it possible to detect whether the mouse is donw and both moving or not? I've tried but no success. Please help! Thank you Link to comment Share on other sites More sharing options...
Ingolme Posted January 10, 2012 Share Posted January 10, 2012 There are two ways I can think of at the moment. Register a mousemove event handler when the mouse is pressed down and remove the handler when the mouse is released. Set a boolean to true when the mouse is down, in the mousemove event check that the boolean is true before doing anything. Set the boolean to false when the mouse is released. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.