Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there an algorithm to get GUIs in scales instead of offset?

For example, I want to make my GUIs based off of scale instead of offset. So it's proportional on all monitor sizes. Is there any algorithm to do this? Would appreciate any help!

1 answer

The first number of the X coordinate and Y coordinate is the scale, or to use it in a script, do

local frame = nil --insert frame here
frame.Position = UDim2.new(1, 0, 1, 0) --The 1's are the scale part.

This discussion is preserved as it was. New answers, comments, and votes are closed.