Spritekit: How do you call touches began & in touches separately?
<p>I have a game in Sprite Kit and this game will start as soon as I touch the screen. I also want a button in the game that if I touch, I only want that to be called and not the actual game. Here's an example. I have "touches began touched" being called when I touch anywhere on the screen. I also have a button that if I could, it calls "button touched". My problem is, if I touch the button and call "button touched", it also calls "touches began touched". Why? Thanks!</p>

<pre><code>class GameScene: SKScene {

var button: SKNode! = nil

override func didMoveToView(view: SKView) {

    button = SKSpriteNode(color: SKColor.redColor(), size: CGSize(width: 100, height: 44))

    button.position = CGPoint(x:CGRectGetMidX(self.frame), y:CGRectGetMidY(self.frame));

    self.addChild(button)


}

override func touchesBegan(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {

    print("touches began touched")

    for touch in touches {
        let location = touch.locationInNode(self)

        if button.containsPoint(location) {
            print("button touched")

    }
}
</code></pre>