title: Pygame mouse button down, How do I make it more smoother?
body: <p>Whenever I use Pygame mouse button down event and click something, I have to not move my cursor. What I'm saying is that if I move my cursor during clicking, Pygame doesn't recognize it.</p>
  
  <pre><code>elif posx &gt;= 204 and posy &gt;= 476 and posx &lt;= 280 and posy &lt;= 504:
      screen.blit(example_picture,(205,475))
      for event in pygame.event.get():
          while event.type == pygame.MOUSEBUTTONDOWN and event.button == 1:
              pygame.quit()
              sys.exit()
  </code></pre>
  
  <p>how do i fix it?</p>