     }
 
     override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
-        // when user touches a button, turn it light blue
-
         for touch in touches {
             let location = touch.locationInNode(self)
 


class TwystScene: SKScene {

    let updateDelay = 0.05

    let synth = SineSynth()
    let noteCodeMappings = [


            for node in nodes {
                if let name = node.name {
                    if  name == "buttonOneImage" ||
                        name == "buttonTwoImage" ||
                        name == "buttonThreeImage" {

                        AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate))
                        
                        handleNoteStart(name)
                        let spriteNode = node as! SKSpriteNode
                        let newImageName = name + "_active"
                        spriteNode.texture = SKTexture(imageNamed: newImageName)
                    } else if name.containsString("flatImage") {
                        flatButtonActive = 1
                        let spriteNode = node as! SKSpriteNode
                        spriteNode.texture = SKTexture(imageNamed: "flatImage_active")
                    } else if name.containsString("sharpImage") {
                        sharpButtonActive = 1
                        let spriteNode = node as! SKSpriteNode
                        spriteNode.texture = SKTexture(imageNamed: "sharpImage_active")
                    }
