Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local event, button, x, y = os.pullEvent( "mouse_click" )
- print( "The mouse button ", button, " was pressed at ", x, " and ", y )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement