For how long you want to move the player ?
This might be a solution :
Add these boolean instance variables to your player: movingRight, movingLeft, ...etc
then do, for example: when command = right then Player.movingRight = right.
then to move the player you test the boolean variables:
if(Player.movingRight) then :
- simulate right
- wait 1s
- simulate stop