pygame.Rect properties:
rect.x, rect.y = 100, 50 ← top-left corner
rect.width, height = 48, 48 ← size
rect.center = (124, 74) ← center point
rect.topleft = (100, 50) ← alias for (x, y)
rect.topright = (148, 50) ← top-right corner
rect.bottomleft = (100, 98) ← bottom-left corner
rect.right = 148 ← right edge
rect.bottom = 98 ← bottom edge
Move by assigning to any property:
rect.center = (400, 300) → centers the sprite
rect.topright = (800, 0) → top-right corner of the screen