What if I want it to move forever side by side? Do I add a loop block? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What if I want it to move forever side by side? Do I add a loop block?

2nd Feb 2019, 3:14 PM
Hannah Balderrama
Hannah Balderrama - avatar
2 Answers
+ 1
Yes, you'll need a loop and you'll have to change direction of your animation based on the position of the shape you're animating. Check this code out and ask questions if you need: https://code.sololearn.com/Wi3p3Ham9qJ5/?ref=app
2nd Feb 2019, 6:19 PM
Zeke Williams
Zeke Williams - avatar
+ 1
Thank you Zeke Williams. I'll study your code and might ask questions in the ff days. Amazing work. This is awesome!
2nd Feb 2019, 7:14 PM
Hannah Balderrama
Hannah Balderrama - avatar