SHARE
TWEET

CC: pocket5

hevohevo Apr 26th, 2016 (edited) 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- pocket5
  2. -- イベントハンドラの使い方(画面クリックイベント)
  3.  
  4. while true do
  5.   local event, button, x, y = os.pullEvent("mouse_click")
  6.   print(event)
  7.   print(button)
  8.   print(x, y)
  9. end
RAW Paste Data
Pastebin PRO Summer Special!
Get 60% OFF on Pastebin PRO accounts!
Top