create a rect in pygame code example Example: pygame.Rect pygame.Rect(top, left, width, height) # all values are integers in pixels