CreateTweenCustom

Description

Creates a custom tween with a given duration and returns an ID for it. This tween is not associated with any item and its values can be read whilst it is running. This makes it useful for controlling values that are not covered by any of the other tween templates. All tween types share the same ID space, so a custom tween of ID 1 cannot exist at the same time as a sprite tween with ID 1. You can set multiple parameters for this tween, up to 4 float values and 4 integer values, that will all move from their start values to their end values over the given duration.

Definition

integer CreateTweenCustom( duration )

CreateTweenCustom( tweenID, duration )

Parameters