Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local try= display.newImage("1.png")
- local function hop(event)
- if(event.phase==began) then
- print "hello"
- end
- return true
- end
- try:addEventListener("touch", hop)
- if event.phase == "began" then
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement