Skip to content

Instantly share code, notes, and snippets.

@sdabet
Created March 23, 2013 11:10
Show Gist options
  • Save sdabet/5227325 to your computer and use it in GitHub Desktop.
Save sdabet/5227325 to your computer and use it in GitHub Desktop.
touchSwallow property in CCLayer
-(id) init {
if(self = [super init]) {
self.touchMode = kCCTouchesOneByOne;
self.touchSwallow = NO;
self.touchEnabled = YES;
}
return self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment