SurfaceGui seems to "overlap" each other[SOLVED]

So, I was trying to make something in my game and I found this bug:
Whenever you create two SurfaceGuis inside StaterGui, and put the same part in adornee, one the surfaceGuis wont be able to detect input.
Here´s an example.
In this case I put two buttons, one red and one green, each one in a different surfaceGui, and made this local script in startergui:

script.Parent.Red.TextButton.MouseButton1Click:Connect(function()
	warn("RED")
end)

script.Parent.Green.TextButton.MouseButton1Click:Connect(function()
	warn("GREEN")
end)

Here´s what happens:


(I´m clicking on both buttons btw)
As spected only one works, Why? Is this a bug?

2 Likes

Ok so one fix is to put “AlwaysOnTop” as true on both

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.