title: Mute Music and Mute Sound Buttons
body: <p>I am currently putting the finishing touches on an arcade-style game that I am making using Swift and SpriteKit in XCode. </p>
  
  <p>My game has two scenes:</p>
  
  <ol>
  <li>a main menu scene where the play button is located </li>
  <li>a game play scene. </li>
  </ol>
  
  <p>I want to be able to put a node that acts as a button to mute ALL background music across BOTH scenes and a node that acts as a button to mute ALL sound effects across BOTH scenes.</p>
  
  <p>I want BOTH of these buttons to be located on the MAIN MENU SCENE. I have an idea about how to program the button to mute the music/sound-effects but I have no idea how to connect the button across both scenes. </p>
  
  <p>I would also like it to stay muted (or un-muted) even after the user closes the App and re-opens it. Please I really need help with this, and please be specific and straightforward on what I should do because I am new to coding. Overall, I just want to know how to program a node that acts as a button to be able to work across and access properties from two different scenes. </p>
  
  <p>P.S. I am using AVFoundation to run my music and sound effects </p>