And there you have it! Our sprite stands still when no buttons are pressed, and walks to the direction of the left and right buttons. I urge you to actually type in the codes in each of the pictures to see what works and what doesn't. I'm still learning this myself as well so my code may not be efficient, but at least it did the job.