import pygame object1 = pygame.Rect((20, 50), (50, 100)) object1.move_ip(100, 100) print(object1.topleft)