A camera within a frame?

Hello, I’m currently learning scripting and I want to learn how to do the following:

  1. Make a camera that a frame from a gui appears off of.
  2. Make the camera move to the right if your cursor goes to the right, if left then the camera move’s to the left, etc, within the frame.

If you know how to, please reply and i’ll be very thankful because this is a problem that I’ve been wanting to fix for a long time.

you could use viewport for the gui camera

Uh, what does that do tho, what’s a viewport?

I recommend you take a look at the official meaning by roblox.

1 Like