tonyg #1 that code does the exact same thing as above as far as I can see but in a smarter way .The smartest way would probably be to use colliderect.