TweenInfo

Show Deprecated

The TweenInfo data type stores parameters for TweenService:Create() to specify the behavior of the tween. The properties of a TweenInfo cannot be written to after its creation.

Summary

Constructors

new(time: number, easingStyle: EasingStyle, easingDirection: EasingDirection, repeatCount: number, reverses: boolean, delayTime: number)  

Properties

The direction in which the EasingStyle executes.

The amount of time the tween takes in seconds.

The amount of time that elapses before tween starts in seconds.

The number of times the tween repeats after tweening once.

The style in which the tween executes.

Whether or not the tween does the reverse tween once the initial tween completes.

Constructors

new

Parameters

time: number
Default Value: 1
easingStyle: EasingStyle
Default Value: Enum.EasingStyle.Quad
easingDirection: EasingDirection
Default Value: Enum.EasingDirection.Out
repeatCount: number
0
reverses: boolean
delayTime: number
0

Properties

EasingDirection

The direction in which the EasingStyle executes.

Time

The amount of time the tween takes in seconds.

DelayTime

The amount of time that elapses before tween starts in seconds.

RepeatCount

The number of times the tween repeats after tweening once.

EasingStyle

The style in which the tween executes.

Reverses

Whether or not the tween does the reverse tween once the initial tween completes.