You want to see the CCTouchDispatchersingleton class . If you add a target touch handler that swallows the touch (and does nothing), you will not get any touch. As far as I can tell, there is no way to completely disable the touch.
Alternatively, you can create a new CCLayer that on top of everything else (I think z order really high will do this) and let it know and it does nothing with a touch.
hope this helps.
source
share