Datatype · Enums
EasingStyle
enum
Determines the mathematical curve used to interpolate a tween.
Values
| Name | Value | Description |
|---|---|---|
| Linear | 0 | Constant rate of change. No acceleration or deceleration. |
| Sine | 1 | Smooth curve based on a sine wave. |
| Back | 2 | Overshoots the target slightly before settling. |
| Quad | 3 | Quadratic (power of 2) curve. |
| Quart | 4 | Quartic (power of 4) curve. Steeper than Quad. |
| Quint | 5 | Quintic (power of 5) curve. Steeper than Quart. |
| Bounce | 6 | Simulates a bouncing effect at the end of the tween. |
| Elastic | 7 | Simulates an elastic spring oscillation. |
| Exponential | 8 | Exponential curve. Very slow start, very fast finish (or vice versa). |
| Circular | 9 | Curve based on a circular arc. |
| Cubic | 10 | Cubic (power of 3) curve. |