So basically I’m trying to resize a ViewportFrame in a SurfaceGui to make that the corners of the Gui be adapted to the screen corners.
First I think I need to center the ViewportFrame to the center of the player’s screen, like this:
I can’t do that because the part that handles the Surface Gui is supposed to be a portal (that’s why I’m making all this mess). I searched for the formula to make the deepth illusion in the portal, and I realized I need to stretch the ViewportFrame to camera resolution or something like that.