While going through the docs of pygame, there was a method of pygame called colliderect()
that is used to test if two rect
objects have overlapped.
colliderect() test if two rectangles overlap
colliderect(Rect) -> bool
Returns true if any portion of either rectangle overlap (except the top+bottom or left+right edges).
In the last line , it said except the top+bottom or left+right
What does this statement mean?