tweenline_to(target_object, duration, vars, [position]);
Argument name Type Description
target_object Object | instance | array of objects or instances or mixed 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 real Duration in seconds (or frames if "useframes" true is set in the vars parameter)
vars array The special vars array. For more info about the vars array see the Animation documentation.
position string|real The special position parameter. See tweenline_add for more info.

Returns: (Tween) The newly created tween instance


Adds a 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.

See tweenline_add for the reference for the optional "position" parameter.

Returns the index of the tween that has been created.