get botto and right of rect pygame code example Example: pygame.Rect pygame.Rect(top, left, width, height) # all values are integers in pixels