Vector

The vector alteration will move your sprite in the direction of its angle value.

create routine as Start launch mover end create sprite from uparrow.png as mover where center=103,27 x=200 y=50 angle=225 having alt=vmove end create vector as vmove where speed=100 distance=50 completion=Done end

Parameters

completion={routine name}
a routine to run when the movement is complete
distance={number}
how far to move the sprite
speed={number}
speed of movement in pixels per seconds