How do i print the fov of a camera?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    i want to print the current FOV of the camera
  2. What is the issue? Include screenshots / videos if possible!
    It’s not printing.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried getting the camera and printed the Field Of View but its not printing in the output. After trying in Local script I tried it in the server script…
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

In a LocalScript:

local camera = workspace.CurrentCamera

OK thnx so what is the difference between Camera and CurrentCamera .
tbh i wrtoe local cam = workspace.Camera

CurrentCamera is a property of Workspace that points to the local player’s camera object. I believe it’s just a better way to get the player’s camera since multiple items in Workspace could hypothetically be named “Camera.”

workspace.CurrentCamera is a property of the Workspace whereas workspace.Camera is an instance. Both work but workspace.CurrentCamera seems to be the more ideal method for finding the active camera.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.