title: Checking if clicks are within a graphic object [Python Graphics Module]
body: <p>Here is the module I'm using: <a href="http://mcsp.wartburg.edu/zelle/python/graphics/graphics.pdf" rel="nofollow">http://mcsp.wartburg.edu/zelle/python/graphics/graphics.pdf</a></p>
  
  <p>I want to see whether a user's clicks are within a shape or not. I used the in operator, but I know that is incorrect. Below is a chunk of my code:</p>
  
  <pre><code>win = GraphWin("Click Speed", 700, 700)
  
  theTarget = drawTarget(win, random.randrange(0,685), random.randrange(0,685))
  
  while theTarget in win:
      click = win.getMouse()
      if click in theTarget:
          print("Good job")
  </code></pre>
  
  <p>I left out the code that draws theTarget shape because it is length and unnecessary. <strong>It is a moving circle.</strong></p>
  
  <p>I'm using a while loop so it allows me to constantly get the user's clicks.</p>
  
  <p>How do I go about checking whether or not a user's clicks are in the specified Target shape by using the getMouse() command?</p>
  
  <p><strong>I'm going to have to use this in the future for more abstract shapes (not simple circles).</strong></p>