title: Know which rect has been collided in a collidelist
body: <p>I am trying to find a specific rect in a collidelist when my bullet touches the rect.
  I have 92 rects, and each of them are given a type : "Opaque", "Transparent".
  When I create the rects at the launch of the game, I place them in a list, to after test the collidelist. And an other list which contains all the types in order.
  Like</p>
  
  <pre><code>collide_wall_list = [rect,rect,rect,rect]
  #Each rect is a pygame.draw.rect
  
  wall_type_list = ["Opaque","Opaque","Opaque","Transparent"]
  </code></pre>
  
  <p>They are created in order, so the 2nd rect is the 2nd type.</p>
  
  <pre><code>if new_bullet_list[n].collidelist(collide_wall_list) != -1:
  </code></pre>
  
  <p>This is to test if any of my bullet is colliding with the list of rects.
  Now, the problem is that with the collidelist, we can't know WHICH of the rects are being collided.
  Do you have any idea how to know which of the rects are being collided ? And then for the type it will be easy, because the rects and the types are in the same position.</p>