AlwaysOnTop makes GUI clip through part, but without it GUI looks bad

I am looking for a way to make my SurfaceGui NOT clip through parts, while still looking good. here is what it looks like With AlwaysOnTop:


in my opinion, it looks good! but, then this happens if something blocks it.

not as good.

however, without AlwaysOnTop it looks like this…


and it looks even worse from the side.

so, how can I make it look good, while not clipping through parts? thanks in advance!

1 Like

By the looks of things, I would think you want the UI to look more brighter just like how AlwaysOnTop makes it appear. I would probably recommend first looking into LightInfluence property in the Properties Tab (Changing the value to 0 so current game lighting wouldn’t factor much the appearance of the UI) of the Surface GUI then if needed you can also play around with the Brightness property. Hope this helps.

2 Likes

Thanks, I mainly do scripting and am pretty new to UI work. Going to try this when I get home, if it works I will mark as solution.

1 Like

If you change the zindex of each individual gui, you will garner a result similar to the top option, without needing alwaysontop to be enabled.

1 Like

the trophy pattern is a texture, I am hoping to keep it that way because I have a script that animates it.

1 Like

hey, this fixed part of the problem.
image
however, sometimes the trophies still appear in front. from the looks of things, this is dependent on the angle.
image
any ideas on how to fix?

Just put the SurfaceGui of the trophy a bit more forward, or just make the Zindex of the GUI to 5.

1 Like

I have pulled it forward by 2 studs here, and set the ZIndex to 5.
image

Is the front trophy image transparent?

1 Like

yes, it is set to 0.9 transparency.

Set this entire GUI’s transparency to 0.
opera_pP767juEu7

1 Like

the GUI is at 0 transparency. the trophy texture behind is at 0.9.

1 Like