title: How can I disable a SpriteKit node touch event and then enable it after 25 seconds to be touched and moved to next scene?
body: <p>How can I disable a SpriteKit node touch event and then enable it after 25 seconds so that when the node is touched it will take the user to the next scene?</p>
  
  <p>I am setting up a GameScene that plays an audio file for 25 seconds and then after that I want the user to be able to click on a SpriteKit Node that will take the user to the next Scene.  The problem is the node cannot be hidden.  It needs to be visible and but disable and then visible and enabled for touch after 25 seconds.</p>
  
  <pre><code>    if nextButton.contains(location) {
          if nextButton.isHidden == true {
              nextButton.isUserInteractionEnabled = false
          } else {
              goToScene(scene: getNextScene()!)
          }
  </code></pre>
  
  <p>I have used this code for when the SPriteKit Node has been able to be hidden, but this time the Node must be visible the whole time.</p>