I believe that this algorithum is very useful to make the sprite appear as though it is flying towards you. There was a slight problem when i clicked stop and then start agan, and the bat would remain large. I corrected this by using the 'set size to 77%' button whenever the flag is clicked.