How can I make a textbox unselectable while clicking through a frame beneath the textbox?

There’s this issue I’m encountering and I hope that these Gui properties: LayoutOrder and ZIndex would help, but they don’t when I tried.


My first attempt:

Menu.MouseEnter:Connect(function()
     TextBox.TextEditable = false
end)

Menu.MouseLeave:Connect(function()
     TextBox.TextEditable = true
end)

Any thoughts what I can do?`

1 Like