hi, i want to repeat a moving object using a conditional statement. my object moves off the canvas, but i want that to keep repeating from the top. i have my conditional statement, but how would i incorporate the two?
Hello @turtle1
Please post your code. Then we can see your thought process and offer the best guidance. ![]()
Also, if I’m reading your question correctly, you want your moving object to appear at the top of the screen after it has moved outside of the bottom frame edge. Is that correct?
Please note “Reset object to beginning x, y position” is perhaps a better title for your question.
![]()
generically speaking if(condition){y=0;}?
Well done
And what is your condition?
How can you detect if it’s left the screen?
Please post your entire code to get real help