hi,
i try to do a touch detection on character moving but sometimes the touch is not fully detected.
it looks like the touch are not all interpreted
could you help me ?
local function touchCharacter(event) if event.phase =="began" or event.phase=="ended" then target = event.target if target.myId \<=30 then kill(character,target.myId) print("character",k,"touched") return true end end end for i=1,#character do character[i]:addEventListener("touch",touchCharacter) end