actually, his is the best method i can come up with, if you use the sleep command, it works but it's kinda crooked, instead of moving smoothly, it hops! even if you use a small value for sleep, you can still see the hopping fx.
using this method, you could use the variable for object movement, eg as you loop you walk animation (etc), you can use this method to slow down his pace and another variable to modify the loop speed!