PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

EasingDirection

EasingDirection

The EasingDirection Enum controls the direction of a tween. The animation below demonstrates the different options using the Quad enum/EasingStyle.


Enums

Name Value Description

In

0

The easing style is applied in a forward direction. (See animation)

Out

1

The easing style is applied in a reverse direction. (See animation)

InOut

2

The easing style is applied forward for the first half and in reverse for the second half.

Referenced by:

  • GuiObject/TweenPosition
  • GuiObject/TweenSize
  • GuiObject/TweenSizeAndPosition
  • UIPageLayout/EasingDirection
  • TweenService/GetValue