well maybe this will work if you put it in your game
x=sprite position x(spritenumber)
y=sprite position y(spritenumber)
if upkey()=1 then y=y-1
if downkey()=1 then y=y+1
if rightkey()=1 then x=x+1
then leftkey()=1 then x=x-1
sprite (spritenumber),x,y,0
Put that in your do,loop command, change "spritenumber" with your sprites number.
Here's kind of how it works
x=sprite position x(spritenumber)
y=sprite position y(spritenumber)
that is defining a variable (x and y) that it is the same thing as your sprites position x and y. (it's just a shorter way of doing things)
if upkey()=1 then
if downkey()=1 then
if rightkey()=1 then
then leftkey()=1 then
this is saying if you press one of the arrow keys then...
for an example of that lets only do x=x+1
that is saying that object position x is equal to object position x but your adding one to move the sprite
sprite (spritenumber),x,y,0
That is simply moving your sprite to the new position.
I want coke, not Pepsi!