Read the docs for GuiService:GetGuiInset() and was a bit confused. What does it mean from the top left to the bottom right respectively?
I’m currently using it like this for mobile players, because some of the topbar UI for my game is too far down. When I just subtract GuiInset.Y, it goes too far up and outside the screen so I am doing GuiInset.Y/2.
I don’t know if this is the correct way to use this and I only have a phone so I want to make sure that this will be consistent throughout mobile devices.
(Some of the Gui should respect Gui Inset so I am basically trying to replicate IgnoreGuiInset, but only for some of my UI.)
local GuiInset = GuiService:GetGuiInset()
print(GuiInset.X, GuiInset.Y, "<- gui inset")
script.Parent.Score.Position -= UDim2.fromOffset(0, GuiInset.Y/2)
script.Parent.Info.Position -= UDim2.fromOffset(0, GuiInset.Y/2)
script.Parent.Gift.Position -= UDim2.fromOffset(0, GuiInset.Y/2)