Conditionals for resetting moving object

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?

1 Like

Hello @turtle1
Please post your code. Then we can see your thought process and offer the best guidance. :slightly_smiling_face:

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.

:nerd_face:

2 Likes

generically speaking if(condition){y=0;}?

1 Like

Well done

And what is your condition?

How can you detect if it’s left the screen?

1 Like

Please post your entire code to get real help

1 Like