How to stop surface gui from clipping through walls?

  1. What do you want to achieve? Keep it simple and clear!

i want this surface gui to not clip through walls.

  1. What is the issue? Include screenshots / videos if possible!

no matter what i do its keeps clipping unless i move the part 1 stud back which i do not want

  1. What solutions have you tried so far? Did you look for solutions on the Creator Hub?

i have disabled always on top, moved the part .005 back. but that fix is only temporary because if i view it from a distance it will keep clipping (see from image)

(note the red color, thats the surfacegui clipping)

It’s probably something to do with the way SurfaceGuis are rendered, some silly ZIndex behaviour. Try reducing the MaxDistance for the red objects so they stop rendering at the distance where they poke through walls.

Yeah as Zac said, I’d try messing with the zindex offset of the surface gui, try some negative values.

1 Like

I may be wrong, but it seems like a conflict between a SurfaceGui and a SelectionBox. Judging by the outlines around the walls, are you using any SelectionBoxes on them? If so, you may have to set the SurfaceTransparency to 1. My tip is using neon with a dark color on the walls if you wanna keep the same feel on them.

in the end i gave up and moved it 1 stud back :sweat_smile:, fyi the outlines on the wall are just textures, thanks all!

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