SHARE
TWEET

CC: pocket5

hevohevo Apr 26th, 2016 (edited) 53 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
Challenge yourself this year...
Learn something new in 2017
Top