 
                     let noteCode = getCurrentNoteCode()
                     synth.play(noteCode)
+
+                } else if (node.name?.containsString("topButton") != nil) {
+                    let spriteNode = node as! SKSpriteNode
+                    let changeColorAction = SKAction.colorizeWithColor(minimalLightPurple, colorBlendFactor: 1.0, duration: 0)
+
+                    spriteNode.runAction(changeColorAction) {
+                        spriteNode.color = self.minimalLightPurple
+                    }
                 }
             }
         }

    }

    func makeTopButton(buttonColor: SKColor, buttonSize: CGSize) {
        let node = SKSpriteNode(color: buttonColor, size: buttonSize)

        node.anchorPoint = CGPoint(x: 0, y: 0)
        // positions it with respect to top left

        node.position = CGPoint(x: x, y: HeightOfScreen - (WidthOfScreen/2) )
        x += WidthOfScreen / 3

        node.name = "noteButton"

        self.addChild(node)
    }

}

                    }

                    synth.stop()
                } else if (node.name?.containsString("topButton") != nil) {
                    let spriteNode = node as! SKSpriteNode
                    let changeColorAction = SKAction.colorizeWithColor(minimalPurple, colorBlendFactor: 1.0, duration: 0)

                    spriteNode.runAction(changeColorAction) {
                        spriteNode.color = self.minimalPurple
                    }
                }
            }
        }
