So basically the title says all this. I tried to search around; You will feel despised as something because it will have immediate results, but no.
Is it really annoying to me, can someone suggest suggestions or solutions? Thanks
That's because, by definition, there is no mouse click in motion while clicking a mouse , This is a drag event
You can still access mouse poked () and mouse release () events, so if you want to detect a mouse click during a drag event, then use them instead.
Here's a short example to get you started:
zero moodlight () {println ("clicked"); } Press zero mouse () {println ("pressed"); } Zero mouse-related () {println ("release"); } Zero mouse dragged () {println ("scratched"); } Zero draw () {background (0); }
No comments:
Post a Comment