SurfaceGUI buttons with adornee do not work!

So I have this button. Its parent is a frame and the frames parent is a surfacegui. The adornee of the surfacegui is the part.
image

Lookin like this in explorer
image

I can’t interact with the button. Hovering works tho.

If anyone got a fix for this, pls LMK bc im boutta crash out.

2 Likes

pls lmk if you know the issue! It works If I have alwaysontop on, but I really don’t want to do that

It doesn’t work in game either!!! I’m getting so mad rn pls someone help. It’s completely unclickable

Hello!
Have you made sure your button is at the top layer of the UI (as in Zindex), and is your video recorded with AlwaysOnTop enabled?

asking because i saw this
image

Otherwise I think it may be a scripting issue. I don’t entirely see how the problem is happening lol

1 Like

AlwaysOnTop is off and the ZIndex or the SurfaceGUIs ZIndex is like 9432575893475437863457. Still not working tho :frowning:

1 Like

That’s weird. Have you tried using the same elements in a ScreenGUI? Again, I think it may be a scripting issue – I saw some videos on the matter and what you’re doing seems to be right.

I didn’t even script it. It’s completely unclickable!

I assume you have the SurfaceGuis folder inside the StarterGui? I just did a test and it works when I click the button on a surface gui, adorned to a part.

2 Likes

Hmm…
Well if it works with AlwaysOnTop, how about you try making an invisible separate part, setting the button’s Adornee to it and see if that works? Maybe it’s just some funky UI layering stuff.

If that doesn’t work, then it’s ought to be a scripting issue. Sharing the code could help diagnose the problem quicker.

I didn’t get it fixed but I made a workaround

1 Like

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