So i have a function inside a function and i the function inside the first function had a touch listener that is supposed to remove an image but its not working…
Here’s the code…
function removeArrow1(event) if event.phase == "began" then display.remove(arrow[aCounter]) print("bob" ) end end
the removeArrow1 function is supposed to remove the arrow when i touch it… but it doesnt … But it does print “bob”