It doesn't work like that.
To make something move, you'd need to change the sprite's coordinates.
I can't type it all for you because it'd be like giving away the answers to an exam, so here's what you should do:
-Make a loop
-Make a variable increase or decrease depending on the button pressed
-Use your moving command with the variable
If you don't know what a variable is, you're not ready.