Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there anyway to tell the camera zoom distance?

Is there anyway to tell the camera's current zoom distance?

1 answer

✓ Accepted answer

Yes, actually! It's the distance from their Head to their Camera:

--Obviously, this only works in a LocalScript.
local camera = workspace.CurrentCamera

local zoomDistance = (game.Players.LocalPlayer.Character.Head.Position - camera.CFrame.p).magnitude

This discussion is preserved as it was. New answers, comments, and votes are closed.