Have Questions?
close

6.3.5 Cmu Cs Academy ^hot^ -

: Use an if statement inside onStep to check if the shape has reached its destination. If you don't use an if , the shape will fly off the screen forever.

def onStep(): if moveLeft: circle.centerX -= 5 6.3.5 Cmu Cs Academy

CMU’s editor allows for print() calls. Use them to debug your variables. If a shape isn't moving, print the variable's value to see if it’s even changing. : Use an if statement inside onStep to