Setting Frame's Position to another frame's Absolute position ISSUE!

As stated in the header, im having an issue positioning a frame into another frame using its Absolute Position. The frame with absolute position is inside a UIGridLayout.


Make sure UnitInfo.Parent is either a ScreenGui or a Frame that is the size of the entire screen

Try to write

local offsetX = unitButtonAbsolutePosition.X.Value
local offsetY = unitButtonAbsolutePosition.Y.Value + unitButton.AbsoluteSize.Y.Value

Instead of:

local offsetX = unitButtonAbsolutePosition.X
local offsetY = unitButtonAbsolutePosition.Y + unitButton.AbsoluteSize.Y