Using centerX , centerY , and rotateAngle within a repeating loop.
This function runs automatically multiple times per second. You must update the centerX and rotateAngle of your person here. person.centerX += 5 (moves the person right) person.rotateAngle += 10 (rotates the person) 6.3.5 Cmu Cs Academy
If you're stuck, the Documentation - CMU CS Academy provides syntax reminders for every shape and property. Using centerX , centerY , and rotateAngle within
Example: if (icon.right >= 400 or icon.left <= 0): icon.dx *= -1 . 6.3.5 Cmu Cs Academy
In the "Continuous Cartwheels" version (6.3.5), the objective is to make a stick person move horizontally while rotating.
Successfully animate a group of shapes (like a stick figure or a "DVD" icon) so they move across the canvas while rotating or bouncing off edges.