Issues with tweening (GUI)

While making a simple tweenscript, I keep having the issue where the button is expanding to the right only, how can I make it go in every direction instead? (I am using a UIAspectRatio) script.Parent:TweenSize(UDim2.new(0, 178,0, 105), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)

1 Like

Try setting the Anchor Point property of the GUI element to 0.5, 0.5. So the anchor of the element its exactly in the middle

1 Like

Works great! Thanks, had no idea this even existed.

1 Like