Convert Absolute Position to UDim2

I need to place points at certain distances between a center point and an outer edge. Currently I am attempting to lerp the absolute positions to get the point I want and then convert that absolute position to a UDim2 to put the frame there. For whatever reason, this places the frames exactly where they should be relative to each other, but in a completely different area than the absolute position.


image
image
The absolute position of where the point should be is completely different from the absolute position that the point ends up in. Could somebody please explain why this is happening and how I could fix this, or a different method I could use to achieve the same effect?

local statPentagon = game:GetService("Players").LocalPlayer.PlayerGui.StatGui.Pentagon
	
	local centerVector = statPentagon.Center.AbsolutePosition
	local defensePoint = centerVector:Lerp(statPentagon.DefenseMax.AbsolutePosition, defense/10)
	local powerPoint = centerVector:Lerp(statPentagon.PowerMax.AbsolutePosition, power/10)
	local speedPoint = centerVector:Lerp(statPentagon.SpeedMax.AbsolutePosition, speed/10)
	local trickPoint = centerVector:Lerp(statPentagon.TrickMax.AbsolutePosition, trick/10)
	local recoveryPoint = centerVector:Lerp(statPentagon.RecoveryMax.AbsolutePosition, recovery/10)
	
	statPentagon.DefensePoint.Position = UDim2.fromOffset(defensePoint.X, defensePoint.Y)
	statPentagon.PowerPoint.Position = UDim2.fromOffset(powerPoint.X, powerPoint.Y)
	statPentagon.SpeedPoint.Position = UDim2.fromOffset(speedPoint.X, speedPoint.Y)
	statPentagon.TrickPoint.Position = UDim2.fromOffset(trickPoint.X, trickPoint.Y)
	statPentagon.RecoveryPoint.Position = UDim2.fromOffset(recoveryPoint.X, recoveryPoint.Y)

Nevermind I just figured out that you can just lerp UDim2 so I changed up my code and it works perfectly now. I’m still not sure why it doesn’t work using absolute positions, but if you’re trying to do something similar to this just lerp the UDim2.