views:

11

answers:

0

I'd like to be able to know when any location on the screen is touched so I can show an effect. I don't want to capture the input or otherwise interfere with it, though. I tried setting my scene as a targetted delegate with swallowsTouches to NO but it wouldn't capture the input when I touched a CCMenu I had on there.

I then tried creating a subclass to CCLayer which was dedicated explicitly to capturing input and not swallowing it. I added it to my scene which contained the CCMenu but still I had the same problem where tapping on the CCMenu resulted in no response for the overlaying layer. Can someone offer any advice?