Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. local try= display.newImage("1.png")
  2.  
  3. local function hop(event)
  4. if(event.phase==began) then
  5. print "hello"
  6. end
  7. return true
  8. end
  9.  
  10. try:addEventListener("touch", hop)
  11.  
  12. if event.phase == "began" then
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement