Skip to content

EasingStyle

Supported Enum

Enum used with TweenInfo.new to control the motion of a Tween.

Description

These enum values are passed to TweenInfo.new() to control the motion of a Tween. The following graphs reflect easing styles for Enum.EasingDirection.In. For graphs reflecting Enum.EasingDirection.Out and Enum.EasingDirection.InOut, see UI Animations.

Graphs of EasingStyle variations with an 'In' EasingDirection.

Items

Item Value Status Notes
Linear 0 Supported Moves at a constant speed.
Sine 1 Supported Speed is determined by a sine wave for a gentle easing motion.
Back 2 Supported Slightly overshoots the target, then backs into place.
Quad 3 Supported Similar to Sine but with a slightly sharper curve based on quadratic interpolation.
Quart 4 Supported Similar to Cubic but with an even sharper curve based on quartic interpolation.
Quint 5 Supported Similar to Quart but with an even sharper curve based on quintic interpolation.
Bounce 6 Supported Bounces backwards multiple times after reaching the target, before eventually settling.
Elastic 7 Supported Moves as if attached to a rubber band, overshooting the target several times.
Exponential 8 Supported The sharpest curve based on exponential interpolation.
Circular 9 Supported Follows a circular arc, such that acceleration is more sudden and deceleration more gradual versus Quint or Exponential.
Cubic 10 Supported Similar to Quad but with a slightly sharper curve based on cubic interpolation.

Roblox reference: EasingStyle