Mousedown (Demo version)

Community Forums/Monkey Talk/Mousedown (Demo version)

Farflame(Posted 2011) [#1]
Just playing around with the demo and having a problem with the MouseDown function. When I use ...

If MouseDown(MOUSE_LEFT)
' Do stuff
End If


The mouse actually responds to all 3 mouse buttons, when I only want it to respond to the left button. So if I then do a MOUSE_RIGHT below that, it'll respond to both of them, regardless of which button I press down.


MikeHart(Posted 2011) [#2]
On HTML5 only the MOUSE_LEFT is usable anyway. The browsers don't support the right and middle mouse buttons.


Farflame(Posted 2011) [#3]
Ah thanks, wasn't aware of that. The Monkey docs really could do with a bit more detail in my opinion :)