title: Pygame and Python Clickable Objects
body: <p>I have been coding a simple game. I am trying to make one of my sprites clickable, and execute <code>loaddeath()</code> when clicked. </p>
  
  <p>I have been running into several errors though.</p>
  
  <pre><code>screen.blit(chinese, (randomx1, randomy1))
  screen.blit(green, (randomx2, randomy2))
  screen.blit(eden, (randomx3, randomy3))
  
  screen.blit(obama, (randomx5, randomy5))
  screen.blit(blue, (randomx6, randomy6))
  
  #I want this object to be clickable
  screen.blit(kevin, (randomx8, randomy8))
  screen.blit(hud, (0, 0))
  </code></pre>
  
  <p>My event Loop: </p>
  
  <pre><code>for event in pygame.event.get():
      for event in pygame.event.get():
          if event.type == QUIT:
              pygame.quit()
              sys.exit()
  </code></pre>
  
  <p>What do I need to add?</p>