Tween
The Tween object controls the playback of an interpolation.
Memory category | Instances |
---|
Member index 2
Description
The Tween object controls the playback of an interpolation. Creating and configuring a Tween is done with the TweenService:Create() function; Instance.new() cannot be used for this particular object.
Note that while the configuration of a tween can be accessed after a tween has been created, it can not be modified. If new goals are needed for an interpolation, a new Tween must be created.
Also note that multiple tweens can be played on the same object at the same time, but they must not be interpolating the same property. If two tweens attempt to modify the same property, the initial tween will be cancelled and overwritten by the most recent tween.
History 10
- 553 Change Default of TweenInfo from to TweenInfo(Time:1 DelayTime:0 RepeatCount:0 Reverses:False EasingDirection:Out EasingStyle:Quad)
- 553 Change Default of Instance from to
- 486 Change ThreadSafety of TweenInfo from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Instance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of TweenInfo from to ReadOnly
- 462 Change ThreadSafety of Instance from to ReadOnly
- 329 Change ValueType of Instance from Object to Instance
- 288 Add TweenInfo
- 288 Add Instance
- 288 Add Tween
Members 2
Instance
Type | Default | |
---|---|---|
Instance |
This property of a Tween (read-only) points to the Instance whose properties are being interpolated.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
TweenInfo
Type | Default | |
---|---|---|
TweenInfo | Time:1 DelayTime:0 RepeatCount:0 Reverses:False EasingDirection:Out EasingStyle:Quad |
Read-only property that includes information on how the interpolation of the Tween is to be carried out, using the TweenInfo data type.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |