TweenInfo
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 : Enum.EasingStyle,easingDirection : Enum.EasingDirection,repeatCount : number,reverses : bool,delayTime : number)
Creates a new TweenInfo from the provided parameters.
Properties
The direction in which the tween executes.
Duration of the tween, in seconds.
Time of delay until the tween begins, in seconds.
Number of times the tween repeats.
The style in which the tween executes.
Whether or not the tween interpolates in reverse tween once the initial tween completes.
Constructors
new
Creates a new TweenInfo from the provided parameters.
Parameters
Duration for the tween, in seconds.
Easing style for the tween.
The direction in which the tween executes.
Number of times the tween should repeat. -1 repeats indefinitely.
Whether the tween should reverse to the starting values once it reaches its targets.
Time of delay until the tween begins, in seconds.
Properties
Reverses
Whether or not the tween interpolates in reverse tween once the initial tween completes.