I’m trying to resize/reposition my GUI based on the icon size and position. I’m currently using a local script in the StarterPlayerScripts, and I’m struggling to get the icon’s size and position, which I’ll demonstrate over here.
--//Local script from StarterPlayerScripts
--// This is the GUI that I want to resize and position using Roblox's icon on the top right
local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local safeZone = playerGui.safeZone.TextLabel
local preferredSize = game.CoreGui.RobloxGui
-- I'm not sure how to get the icon size and position :/