Hello my friends
I have a function that is printing all the descendants of a particular ScreenGui when you enter it with the mouse. I have tried changing the ZIndex so that the ScrollingFrame’s elements are on top but to no avail. It will simply not print the elements inside of the ScrollingFrame.
For context, the ScrollingFrame is called InvContainer and the elements inside are called ItemElement.
I’ve tried changing the ZIndex, making sure all UI elements are active, etc. Anyone know what’s up?
local MID = inv:GetDescendants()
local curUIE = nil
for _, uie in pairs(MID) do
if not uie:IsA("GuiObject") then return end
uie.MouseEnter:Connect(function()
print(uie.Name)
end)
end