CreateTweenObject

Description

Creates an object tween with a given duration and returns an ID for it. This tween is merely a template that can be applied to multiple objects or chains at the same time. All tween types share the same ID space, so a sprite tween of ID 1 cannot exist at the same time as an object tween with ID 1. You can set multiple parameters for this tween, such as X position and Angle, that will all move from their start values to their end values over the given duration.

Definition

integer CreateTweenObject( duration )

CreateTweenObject( tweenID, duration )

Parameters