Translation

A Translation is an alteration that will move a sprite from its current location to a new location in a sliding motion.

create routine as Start launch checker end create sprite from checker-1.png as checker having alt=trans1 end create translation as trans1 where x=400 and y=200 and speed=200 and completion=Done end

Parameters

x={number}
horizontal destination of the translation [optional]
y={number}
vertical destination of the translation [optional]
easein={number}
distance to use to accelerate up to speed
easeout={number}
distance to use to slow down to 0
speed={number}
speed of translation in pixels per second
completion={routine}
specify a routine to run when the sprite reaches its destination