title: XNA 4.0: How to remove text after drawn to screen?
body: <p>Good day everyone.</p>
  
  <p>I'm trying to draw the text "Pass Complete!" to screen with this code:</p>
  
  <p><code>spriteBatch.DrawString(font, "PASS COMPLETE!", new Vector2(30, 130), Color.White);</code></p>
  
  <p>Which does fire off the proper IF statement. However, how do I go about then removing that text from the screen? I'm really not sure at all where to go on from here and my instructor wants me to google the answer or find it in textbook. I have been all over my XNA textbook and I have found no outlet to removing that text.</p>
  
  <p>Thanks for any and all help.</p>
  
  <p><strong>Update:</strong></p>
  
  <p><code>protected override void Draw(GameTime gameTime)</code></p>
  
  <p>I have the IF statement included in here. Basically it checks collision with p_Receiver and if it the bool checks out, it draws the DrawString. Should I maybe be looking at this from a different angle?</p>
  
  <p><strong>Final:</strong></p>
  
  <p>I went ahead with the following as the answer and it's working better then before. :)</p>
  
  <pre><code>if (PassInfo == 3) {
  (timer code)
  (IF timer not "used up" then run the draw)
  </code></pre>
  
  <p>Working good for now.</p>
  
  <p>I appreciate it.</p>