Roblox UtilitiesDevlHub Roblox Documentation

Class

Tween

Inherits
TweenBase › Instance › Object
Memory category
Instances

The Tween object controls the playback of an interpolation.

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.

Properties 2#

InstanceInstanceRead-only property that points to the Instance whose properties are being interpolated by the tween.ReadSafeReadOnlyNotReplicated
TweenInfoTweenInfoRead-only property that includes information on how the interpolation of the Tween is to be carried out.ReadSafeReadOnlyNotReplicated

Instance: Instance#

ReadOnlyNotReplicatedReadSafe

This property of a Tween (read-only) points to the Instance whose properties are being interpolated.

TweenInfo: TweenInfo#

ReadOnlyNotReplicatedReadSafe

Read-only property that includes information on how the interpolation of the Tween is to be carried out, using the TweenInfo data type.

Inherited members#

Inherited from TweenBase 5
Properties (1)

PlaybackState

Methods (3)

Cancel, Pause, Play

Events (1)

Completed

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed