"Exponential" TweenPosition moves randomly without tweening

Reproduction Steps

Run this in the command bar:

game.StarterGui.ScreenGui.Frame:TweenPosition(UDim2.new(0.9,0,.411,0), Enum.EasingDirection.In, Enum.EasingStyle.Exponential, 2)

after creating a new ScreenGui with a Frame inside of it.

Expected Behavior

The frame will move smoothly to my target position.

Actual Behavior


The frame will roughly move to the position after teleporting twice.

Issue Area: Engine
Issue Type: Display
Impact: High
Frequency: Constantly

1 Like

So, I noticed this topic, and I wanted to let you and possibly some viewers know about my experience with GuiObject:TweenPosition, by giving some additional details about this issue.


First create a new UIPageLayout. Open the dropdown menu of “EasingStyle”. Those are all the easing styles that appear to work with TweenPosition, but the enum lists all of them. Exponential is not one of them. Even though they are in the same enum, they aren’t all supported. Exponential, for example, will default back to the “Constant” EasingStyle if the one you requested does not exist. You will need to use TweenService if you wish to use Exponential or any of the other EasingStyles not listed in TweenSize or TweenPosition.

I wouldn’t say this is really a bug, more of a lack of features in my opinion. I realized this a couple of months ago.

4 Likes

Thanks for the report! So sorry for the late response. We’ve found someone internally to look at this.

1 Like

Does this happen if you use TweenService instead?

1 Like

Nope, seems to be fixed.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.