UI Tweening from both sides

I’m trying to tween a UI so that it scales upwards but the problem is that it also equally scales downwards, essentially it’s tweening two sides of the UI, how do I fix this?

You could, in theory, just tween the Y position by half the vertical size? That way while both sides resize, it goes half the step up, thus creating an effect of only one side scaling.

1 Like

yeah but wont that scale both sides again from that amount?


Here’s a demo of tweening scale only and tweening scale+position.
Also, while researching, turns out that this only happens if your AnchorPoint.Y isn’t equal to 0. If it is 0, then tweening size will work as expected and only resize one side, without any extra positioning.

3 Likes

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