Posted 29 March 2013 - 10:30 AM
Well I mainly want to ask here how do you use mouse events?
Like for example how do I detect if I press left or right mouse button etc. ?
Would something like this work?
Or how do you use it?
Like for example how do I detect if I press left or right mouse button etc. ?
Would something like this work?
Or how do you use it?
evt, p1 = os.pullEvent()
if evt == "mouse_click" and
p1 == "right" then
--Do stuff
end