Script References

tween_init(precision)
precisionWhen using EaseBack* functions the result is saved to improve performance, a higher precision will store more values but use more memory, 250 is a good default and you should only change it from that if EaseBack* tweens are choppy
Creates the tween system, you need to call this before you can create any tweens (but it only needs to be called once)
tween_free()
Free's the tween system
tween_create(id,type,oldvalue,newvalue,duration,easing)
idThe object to apply the easing to
typeA special constant that defines the kind of tween (possible values are _x, _y, _scale, _xscale, _yscale, _blend, _alpha, _angle or _custom)
oldvalueThe current value to start from
newvalueThe value to tween to
durationThe amount of time (in milliseconds) for the tween
easingThe name of an easing function to use, if you don't want one just use EaseLinear
Creates a new tween and instantly applies it to the object
tween_add_reverse(tween,easing)
tweenThe tween to apply this too
typeThe easing when reversing
Adds a reverse to a tween when it is finished, note that this means it will never finish by itself (will just keep reversing back and forth)
tween_add_repeat(tween)
tweenThe tween to apply this too
Makes the tween loop/repeat when it has finished
tween_add_callback(tween,script,data)
tweenThe tween to apply this too
scriptThe script to call when the tween has finished
dataExtra data you want to be passed to the script
Adds a callback script to a tween, this is a script you make that will be executed when the tween finished.
tween_add_userevent(tween,instance,event)
tweenThe tween to apply this too
instanceThe object to apply this too
eventWhich user event to trigger, this needs to be a ev_user# constant
Adds a callback to a tween, this is similar to the add_callback except it uses user events instead
tween_monitor(tween,script,data)
tweenThe tween to apply this too
scriptThe script to call when the tween has finished
dataExtra data you want to be passed to the script
If you used a _custom type tween, you need to use this script to monitor it. Whenever the tween value changes the script will be executed and you can update your custom variables.
tween_cancel(tween)
tweenThe tween to apply this too
Cancels the tween
tween_exists(tween)
tweenThe tween to apply this too
Returns true if the current tween exists, otherwise false
tween_set_progress(tween,progress)
tweenThe tween to apply this too
progressA value between 0 and 1 to set the progress of the tween (1 is finished, 0 is just started)
tween_get_progress(tween)
tweenThe tween to apply this too
Returns the current progress of the tween (from 0-1)