Yes, you are right.
EDIT: quick search - it's an instance of class
rect
is an instance of some class, but from your code it's not clear instance of which class is (I am not familiar with pygame, others may know which one). move() is method of that class.EDIT: quick search - it's an instance of class
Rect
https://www.pygame.org/docs/ref/rect.htm....Rect.move
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs