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

Why doesn't Camera.Focus work? [NOT SOLVED]

For some reason everytime i try to set Camera.Focus to something (in the command bar) when the cameraType is Scriptable, it doesn't work! But when i do it with cameratype set to custom, it works just fine! Why?!?

Code:

Workspace.CurrentCamera.CameraType = "Scriptable" Workspace.CurrentCamera.Focus = Workspace.BasePlate.CFrame

1 answer

Is it maybe because you didn't do game.Workspace.... ?

2 comments

0

No, because it works just fine when CameraType isn't "Scriptable"

0

When leading to Workspace you may do: game.Workspace, workspace, Workspace

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