title: Disable background touch SpriteKit iOS
body: <p>I'm making a simple game that recognises touches on specific nodes and it works when I click on that specific node it <code>NSLog(@"correct");</code> if clicked on another node <code>NSLog(@"wrong");</code> I recognise the <code>wrong</code> node using this</p>
  
  <pre><code>-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
      UITouch * touch = [touches anyObject];
      CGPoint location = [touch locationInNode:self];
      SKNode *node = [self nodeAtPoint:location];
  
      if ([node.name isEqualToString:@"correct"]){
          NSLog(@"correct");
      }else if (![node.name isEqualToString:@"correct"]){
          NSLog(@"Wrong");
      }
  }
  </code></pre>
  
  <p>that works well but when I click on the background it <code>NSLog(@"Wrong")</code> I want to disable background touches. How can I disable it?</p>
  
  <p>Thanks in advance</p>