Hi everyone
I'd like to write a program that spawns a square at the top of the screen, moves the square towards the bottom, deletes the square and then spawns a new one at the top of the screen again.
This is what I have so far
The program only runs without the if-statement. It continuously spawns squares.
If I include the if-statement, it get the message:
What does that mean and how can I fix it?
Thanks