I remixed the code from 2.7.1; I added a reset function to restore the sprite to it's original location, and removed the backstep to allow the sprite to progress in distance.e