title: Set A bool to true for two seconds then change back to false
body: <p>As the question states, in spritekit I am trying to find a way to change my value of a bool from false, too true for x amount of seconds then change it back to false. 
  the logic is i have this var, isStunned, when my player comes in contact with x sprite i call it and my joystick is disabled since the player is "stunned"</p>
  
  <pre><code> if (controlButtonDown) { // If i pressed joystick
      if (!isStunned) { // IF i am not stunned
    //move player
  </code></pre>
  
  <p>When my player touches the glue, i set isStunned to yes and the joystick is disabled, however I am wondering of a way to only disable my joystick or not move my sprite for x amount of seconds. I know of SKAction and the wait sequence, but those are actions and  I dont think they will apply here. Any help is appreciated. </p>
  
  <p>Thank you</p>