title: pygame mouse button down not working
body: <p>I am making this multiple choice program, but I need the mouse event to only work after enter is pressed.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    for event in pygame.event.get(): # If user did something
          if event.type == pygame.QUIT: # If user clicked close
              done = True
          elif event.type == pygame.KEYDOWN: # If user pressed a key
              if event.key == pygame.K_RETURN: # If user pressed enter
                  # Makes the start screen go away
                  enter_pressed = True
                  # Increments question_number
                  question_number += 1
  
                  # Where I Draw the question screen
  </code></pre>
  
  <p>Then down below I have this:</p>
  
  <pre><code>                for event in pygame.event.get(): # If user did something
                      if event.type == pygame.MOUSEBUTTONDOWN and event.button == 1:
                          print("Derp") 
  </code></pre>
  
  <p>Derp won't print when I press left mouse button.
  However, when I have it indented like this:</p>
  
  <pre><code>    for event in pygame.event.get(): # If user did something
          if event.type == pygame.QUIT: # If user clicked close
              done = True
          elif event.type == pygame.KEYDOWN: # If user pressed a key
              if event.key == pygame.K_RETURN: # If user pressed enter
                  # Makes the start screen go away
                  enter_pressed = True
                  # Increments question_number
                  question_number += 1
  
                  # Where I Draw the question screen           
  
          elif event.type == pygame.MOUSEBUTTONDOWN and event.button == 1:
                          print("Derp") 
  </code></pre>
  
  <p>Derp does print when I press left mouse button</p>