Data type
TweenInfo
Stores parameters for Tweens.
About 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.
Constructors 1
TweenInfo.new
(time: number = 1, easingStyle: EasingStyle = Enum.EasingStyle.Quad, easingDirection: EasingDirection = Enum.EasingDirection.Out, repeatCount: number = 0, reverses: bool = false, delayTime: number = 0)Creates a newTweenInfofrom the provided parameters.
Properties 6
EasingDirection
: EasingDirectionThe direction in which the tween executes.Time
: numberDuration of the tween, in seconds.DelayTime
: numberTime of delay until the tween begins, in seconds.RepeatCount
: numberNumber of times the tween repeats.Number of times the tween repeats.
-1indicates indefinite repetition.EasingStyle
: EasingStyleThe style in which the tween executes.Reverses
: boolWhether or not the tween interpolates in reverse tween once the initial tween completes.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.