Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What's the differences between the Easing Directions in TweenService?

Asked by 4 years ago

I've tried out TweenService recently, but I'm kinda still confused on the differences between the Easing Directions (In, Out, InOut). I checked the DevHub for answers, but it still left me confused, so if anyone can explain it to me, it'll be greatly appreciated.

0
Basically stuff like "In" will go faster and have a rougher animation, but "Out" will have a cleaner more simple animation(I don't know about "InOut" yet though...) CataclysmicDev 46 — 4y

1 answer

Log in to vote
0
Answered by
sleazel 1287 Moderation Voter
4 years ago
Edited 4 years ago

Easing direction will only have effect, when easing style is not set to Enum.EasingStyle.Linear. In that case it will have no effect.

In all other modes:

  • Enum.EasingDirection.In will have an effect at the beginning of the tween;

  • Enum.EasingDirection.Out will have an effect at the end of the tween;

  • Enum.EasingDirection.InOut will have an effect at both the beginning and the end of a tween.

0
Ok I understand now. Thanks for helping me out :) CommunistPotato1912 7 — 4y
Ad

Answer this question