import pygame import sys from pygame import * object1 = pygame.Rect((20, 50), (50, 100)) object2 = object1.move(100, 100) object1.move(100, 100) print(object1.topleft) print(object2.topleft)