How would I determine if a rectangle bigger than the screen is in the screen. I have looked at: Determine if two rectangles overlap each other?, but it only applies to rectangles where one can fit within the other. My rectangles are like this (Blue is screen, red is object):
How can I detect if the red at any point is within the blue. I am doing this with python and pygame, so if there is a built in way to do this that would be great.
Thanks, Arkin