You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Images (like the mario below) and shapes (pygame.Surfaces) don't have "positions"
4
+
5
+

6
+
7
+
## Using get_rect() method creates rect (rectangular) with the size of the image/shape in the x, y coordinates (0, 0) (see the image below)
8
+
9
+

10
+
11
+
## now the rect can be "interacted" with (move, collision etc.) by either the x, y coordinates or by using top, center, etc. (as shown in the image above)
0 commit comments