Clip ScreenGui inside of Part Surface

Hi, I’m trying to make portals (like in Portal) in Roblox. I know there’s math required to make the portals appear correctly sized using SurfaceGui and viewports, but I want to clip/mask a screengui inside of a surfacegui.

I want to mask the screengui such that it only appears on the side of the part. (Without screengui)
Is this possible?

AFAIK i don’t think it’s possible to make a ViewportFrame exist in another ViewportFrame otherwise Roblox will probably experience immense lag because the solutions for rendering it might be somewhat performance heavy also considering the fact it is looping into eachother if that’s what you’re trying to say, because ScreenGuis only appear on the person’s screen, they never appear on a part, that is the job of SurfaceGui

Yeah exactly. All I wanted was someway to do a ClipDescendants on a frame that wasn’t a descendant :pensive: