Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- event, button, xPos, yPos = os.pullEvent("mouse_click")
- print(event .. " => " .. tostring(button) .. ": " .. tostring(button) .. ", " ..
- "X: " .. tostring(xPos) .. ", " ..
- "Y: " .. tostring(yPos))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement