A basic rundown of the script I’m using would be, you hover over the button, and the hover frame appears under it with the specific name of the button, though this is not what I’m having trouble with.
Code
--// yes this is a snippet, all the variables are accounted for
for _, Button in pairs(MainUI.Menu:GetChildren()) do
if Button:IsA("TextButton") then
Button.MouseEnter:Connect(function()
HoverText.Position = Button.Position
HoverText.Visible = true
end)
Button.MouseLeave:Connect(function()
HoverText.Visible = false
end)
end
end
The issue is, when HoverText.Position = Button.Position is called, it returns
![]()
this value instead of the overridden one that UIListLayout moved the TextButton to, am I suppost to be calling another position? I feel like it should return the ListLayout’s Position. I’ve searched up topics and heard it has something to do with AbsolutePosition but I seemingly can’t find anything else related to a use case.