Ui constraint not working

I added a ui constraint to my gui but it’s not working

1080p screen

Mobile

1 Like

I ssume you mean AspectRatioConstraint? That only keeps the aspect ratio the same, not the size.
You should use the scale part of UDim2 instead of the offset part to achieve the desired effect

UDIm2.new(XScale, XOffset, YScale, YOffset)
1 Like

Thank you greatly appreciated!

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