title: Circle isn't being drawn upon mouse click (pygame)
body: <p>I want to draw a circle at the mouse position when i click the mouse but it is not working. It is inside the while loop like I was told to do by the internet but it still isn't working. Can someone please help. Thanks.</p>
  
  <pre><code>def run_game():
      screen_height = 670
      screen_width = 1270
      pygame.init()
      screen = pygame.display.set_mode((screen_width, screen_height))
      screen.fill((10,10,30))
      running = True
  
      pygame.display.flip()
      while running:
          planet_color = (255,0,0)
          planet_radius = 100
          circ = pygame.mouse.get_pos()
          for event in pygame.event.get():
              if event.type == pygame.QUIT:
                  running = False
              elif event.type == pygame.MOUSEBUTTONDOWN:
                  pygame.draw.circle(screen, planet_color, (circa), planet_radius, 0)
              elif event.type == pygame.KEYDOWN:
                  if event.key == pygame.K_q:
                      running = False
  
  
  run_game()
  </code></pre>