Advertisement
PaleoCrafter

Untitled

Aug 16th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. while true do
  2. event, button, xPos, yPos = os.pullEvent("mouse_click")
  3. print(event .. " => " .. tostring(button) .. ": " .. tostring(button) .. ", " ..
  4. "X: " .. tostring(xPos) .. ", " ..
  5. "Y: " .. tostring(yPos))
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement