tweenline_remove

Syntax:

tweenline_remove(value);
Argument name Type Description
value Tween|Tweenline|string A tween, tweenline or label (string) to remove from the timeline

Description:

Removes a tween or label from the last created tweenline or the tweenline that is currently in edit mode. See tweenline_edit for more info about edit mode.

If you pass a tween as an argument, the script will find the parent of the tween for you, so you don't need to worry to call tweenline_edit.

If you pass a label (a string), you need to first call tweenline_edit to tell Tweenline engine which tweenline do you want to edit

Example:

// Remove the tween my_tween from his parent tweenline
tweenline_remove( my_tween);

// Removes the label "mylabel" from the tweenline my_tweenline
tweenline_edit(my_tweenline);
tweenline_remove("mylabel");