ViewportFrame working in ScreenGui but not in SurfaceGui

Hello,

I am trying to make a game with two doors that act as a portal, to make it more like a portal, I want to be able to look through one door and see through the other if that makes sense. Anyways, I was playing around with ViewportFrame and it works perfectly fine with a ScreenGui and if I place the exact same ViewportFrame within a Surface Gui that is parented to a part it stops working, meaning it doesn’t display anything. I’ve tried playing around with the properties and no luck.

Any help will be greatly appreciated :slight_smile:

Could you possibly attach examples of your doors / a simple file with the doors? That way it’s easier to help you.

Here it is in the door in the SurfaceGui:

Here it is in ScreenGui:

Here is what I see on the door:

Here is what I see on my screen with ScreenGui:

I see the issue, to display a ViewportFrame onto a SurfaceGui, just must place the SurfaceGui in StarterGui, from here, the SurfaceGui has a property called “Adornee”, click on that, then, click on the door. This way it should work.

2 Likes

Thank you so much it worked! :slight_smile:

1 Like