EasingStyle

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

NameValueSummary
Linear0

Moves at a constant speed.

Sine1

Speed is determined by a sine wave for a gentle easing motion.

Back2

Slightly overshoots the target, then backs into place.

Quad3

Similar to Sine but with a slightly sharper curve based on quadratic interpolation.

Quart4

Similar to Cubic but with an even sharper curve based on quartic interpolation.

Quint5

Similar to Quart but with an even sharper curve based on quintic interpolation.

Bounce6

Bounces backwards multiple times after reaching the target, before eventually settling.

Elastic7

Moves as if attached to a rubber band, overshooting the target several times.

Exponential8

The sharpest curve based on exponential interpolation.

Circular9

Follows a circular arc, such that acceleration is more sudden and deceleration more gradual versus Quint or Exponential.

Cubic10

Similar to Quad but with a slightly sharper curve based on cubic interpolation.

On this page