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