UIScale should have an animate only mode that does not affect layout

As a Roblox developer, it is currently too hard to animate a UI object’s scale without affecting layout.

If Roblox is able to address this issue, it would improve my development experience because we could animate the scale of objects.

1 Like

If you put each of those buttons in a container, scaling the descendant will not affect the original layout.

I’m not sure how adding this property would be viable without some proportionally large overhead, since you now have to store the original transform as well as the new transform of an object, including all the interactions on that object.

1 Like

This is not feasible if the button uses AutomaticSize, but this is a good thought to have.

2 Likes

I’m not sure how this is not feasible. Can you give me an example? I can’t think of a scenario this wouldn’t work.

Where would this overhead be? In order for the UIScale to even multiply the object’s scale it’d need to already have the original scale & transform stored somewhere or be calculated. Doesn’t sound like there’s an extra overhead being added for data that should already be there.

Yes, the use case is explicitly automatic size, where each subcomponent layouts out affecting other components.

1 Like