I want to use a ViewportFrame for something in my game, and I do not know the position of the camera it’s using or how to move it, is there a way?
Can you elaborate? The ViewportFrame
's CurrentCamera
property refers to the camera currently in use by that ViewportFrame
, its CFrame
(ViewportFrame.CurrentCamera.CFrame
) is what you want control over.
Hi, you must create a Camera instance in order to set it’s CFrame. Change the ViewportFrame’s CurrentCamera value to that new Camera instance, and then you can change it’s CFrame.