Hey all,
I have some icons that need to detect a ‘touch’ so:
local layer = layer_hud:spriteWithUniqueName(“ladder”)
layer.touch = touched
layer:addEventListener( “touch”, layer)
But I also need a global (runtime) listener to check for touches over the screen
Once this is activated the local icons don’t seem to get their events .
Tried returning false at the end of the runtime listener (assuming it would allow it to propogate to them) ; but no joy.
As the runtime listener just detects the screen I’m guessing it is having priority over the local listeners ; is there a fix/method to give my icons priority instead and receive the touch event?
thanks