ここに私のコードがあり、私は夢中になります。コロナラボの例のようにやっただけですが、うまくいかないようです。よろしければ見ていただけますか?
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)