Determines motion along a line, from one point to another.
setMotion(FromX:Float, FromY:Float, ToX:Float, ToY:Float, DurationOrSpeed:Float, UseDuration:Bool = true):LinearMotion
Starts moving along a line.
Duration or speed of the movement.
Whether to use the previous param as duration or speed.