Making gui y size proportional to x

I am working on the Gui for my game, and i came across this problem, lets say i want the gui to be half as tall as it is wide, and with is set with scale.

1 Like

You can use Offset for this.

1 Like
GuiElement.SizeConstraint = Enum.SizeConstraint.RelativeXX

GuiElement.Size =, 0, width / 2, 0)