ID:154775
 
Letís say you wanted the playerís mob to move from side to side more slowly than it moves up and down. I assumed that to do this, you could check the direction with an if statement, and then set the speed accordingly with a move timer or event loop, etc., but I keep running into infinite loop errors when pressing the arrow keys for some reason.

How would you go about making the mob move more slowly, only when traveling East or West?
client
East()
sleep(10)
..()
West()
sleep(10)
..()