How to make UI scale but stay in original pos

Hello! I have this script, and I am scaling down the size, but how do I make the gui stay in the original pos? I want it to work without using UIList

snippet

local buttonx = buttons.Size.X.Offset / 1.25 -- Changeable
local buttony = buttons.Size.Y.Offset / 1.25 -- changeable

snippet

if Settings["Smaller"] then
				
	TS:Create(buttons, info, {Size = UDim2.fromOffset(buttonx, buttony)}):Play()
				
end
1 Like

Change the anchor and use scale so it’ll be relative to the resolution.

1 Like

What should I sent the anchor to?

1 Like

Depends where you want your UI

1 Like

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