Cannot get the sprite to move


#1

Student cannot get the Santa to move right, We have tried lots of ways to get him to move yet he still will not move.


#2

Hey Nicole,
This looks like a great start to a project! The tip I would give this student is to remember that all code contained in the draw loop happens over and over again, forever. If you set santa’s x location to 30 inside the draw loop, it will always be drawn in the same spot. If the student moves this command (line 30) outside of the draw loop, it should only happen once, and should work as expected.
In fact, this could be done for many other commands in the program. For each, consider if it should happen once, or repeatedly. If just once, it doesn’t need to be in the draw loop.
Hope that helps!
Mike