tween_get_string

Syntax:

tween_get_string(tween);
Argument name Type Description
tween Tween The tween

Returns: (string) A string representation of the tween.

Description:

Generates a string with the aproximated contructor function of the tween.

Note: This is an experimental function. Use it only for debug purposes.

Example:

var tween = tween_to( obj_car, 2, array( "x", 300));
var str = tween_get_string(tween);
// output:
// "tween_to( obj_car, 2, ["x", 300]);" (as a string)