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

How do i change the behavior of game.Camera.CameraType?

I don't know how to do it because it's a drop-down menu and how can you select one by script? Is it:

game.Camera.CameraType = 'Scriptable'

or,

game.Camera.CameraType = Scriptable

1 answer

✓ Accepted answer

Use enumeric values. Enum.CameraType.(List will pop up)

Eg: game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable

5 comments

0

Thank you so much!

0

But, is that it? Do i do game.Workspace.Camera.Enum.CameraType.(Scriptable)?

0

Yeah. without the ()'s tho.

0

Sorry but is it the second comment but without the ()?

0

game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable

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