GUI Positioning Help

I’m trying to stop the GUI from moving with the camera angle

Right now i feel like this triangle is my best shot to counteract the GUI movement because if i found out angle A and the distance the GUI moved from part X to part Y i could create a proportion and then find angle A in a program and predict how much it will move

The problem I’m having:

  • I cannot find the angle A because the triangle is 3D i don't know what coordinate to ignore (if any)
  • I do not know how to compare a 3D position with a 2D position or accurately make a 2D position into a 3D position (or vice versa)

    I really don’t know if what i said makes any sense to you or if i’m totally wrong but if you could help steer me in the right direction that would be nice

    TL;DR
    I’m trying to figure out how to counteract a GUI moving with the camera angle

  • I’m afraid I don’t understand your problem very much but could you use a SurfaceGui?

    Viewportframes don’t work in surface GUIs

    Oh i prob explained it terribly sorry dang this is my first time

    So basically you want the effect of a SurfaceGui, but with a BillboardGui?

    I’m trying to make like a room inside a room essentially where when the player looks in the door they see their room and themselves looking in the room
    image

    Im trying to achieve this with a viewportframe but i have to make it in a screen gui because they do not work in surface guis
    (which was working but the camera angled away from the door moves the gui)

    (if that makes any sense)

    Use a surface gui maybe?
    It will probably end up working.

    Ye apparently if u put a surface gui in player gui it works lol