Is there a equation to convert scale to fit all screens?
For instance, I'm adding (0,1,0,0) to a gui at a time, but if I use a different device, such as a phone, laptop or tablet; it won't scale correctly.
I can't use offset (because I'm adding size to the gui), I'm not using tween service either.
Thanks.
Scale is determined by dividing the Main GUI's AbsoluteSize by the screen size. If the GUI has a GUIObject parent (By the way, ScreenGuis are not GuiObjects.), then it will divide the Main GUI's AbsoluteSize by the GuiObject parent.
You can get the screen size by getting the camera's viewportsize.
Snippet: ```lua local GuiObject = v:FindFirstAncestorWhichIsA('GuiObject')
local SizeX = v.AbsoluteSize.X / (GuiObject and GuiObject.AbsoluteSize.X or workspace.CurrentCamera.ViewportSize.X)
local SizeY = v.AbsoluteSize.Y / (GuiObject and GuiObject.AbsoluteSize.Y or workspace.CurrentCamera.ViewportSize.Y) ```