I dont get any output in the console ?
My code works in the mobile phone simulator but no output in the console every time I touch the image. For debugging in the future i wanted to display something in the console.
function playerMove(event)
print(“touch”) —no output
if event.phase == “began” then
print(“touch”) —no output
player:incrementPosition(10,10);
return true
end
end
rect:addEventListener(“touch”, playerMove) [import]uid: 138547 topic_id: 25054 reply_id: 325054[/import]
[import]uid: 52491 topic_id: 25054 reply_id: 102091[/import]