tweenline_to(target_object, duration, vars, [position]);
||Target object whose properties should be affected. The target can be any game maker object. You can also pass an array of objects or instances.|
||Duration in seconds (or frames if "useframes" true is set in the vars parameter)|
||The special vars array. For more info about the
||The special position parameter. See tweenline_add for more info.|
Tween) The newly created tween instance
tween_to tween to the end (or elsewhere using the
"position" parameter) of the last created Tweenline or the Tweenline
that is currently in edit mode. See tweenline_edit for more info about edit mode.
tweenline_addfor the reference for the optional "position" parameter.
Returns the index of the tween that has been created.