function kor1:touch(event)
if (event.phase == “began”) and ( kor1.fill.r == 1 and kor1.fill.g == 0 and kor1.fill.b == 0 ) then
score = score + 1;
playerScore.text = "Score: " … score
else
vege = false
composer.removeScene(“level1”)
composer.gotoScene(“gameover”)
print"vege"
end
end
kor1:addEventListener(“touch”,kor1)
didn’t work , please help