PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

TweenInfo

TweenInfo

TweenInfo is a container of parameters to be passed to TweenService/Create|TweenService:Create() which specify the behavior of the tween. The properties of a TweenInfo cannot be written to after its creation.

Constructors

TweenInfo.new ( number time = 1.0, Enum easingStyle = Enum.EasingStyle.Quad, Enum easingDirection = Enum.EasingDirection.Out, number repeatCount = 0, bool reverses = false, number delayTime = 0 )

Creates a new TweenInfo from the provided parameters.

Properties

Enum TweenInfo.EasingDirection

The direction in which the EasingStyle executes.

number TweenInfo.Time

The amount of time the tween takes in seconds.

number TweenInfo.DelayTime

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

number TweenInfo.RepeatCount

The number of times the tween repeats after tweening once.

Enum TweenInfo.EasingStyle

The style in which the tween executes.

bool TweenInfo.Reverses

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