Hi there - I'm a bit confused about the mouseinfo() function. I want to limit a mousedown event to the left button, but I'm not sure how to do this.
mousedown
Syntax: mousedown(label);
Action: creates an eventhandler for the mousedown event. The global vars mousex and mousey will hold the position of the mouse and mouseinfo will hold info about the event.
'mouseinfo' is a bitfield where bit
0 = leftbutton
1 = rightbutton
2 = middlebutton
3 = shift
4 = alt
5 = control
6 = middle
7 = doubleclick