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
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
Use enumeric values.
Enum.CameraType.(List will pop up)
Eg:
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
Thank you so much!
But, is that it? Do i do game.Workspace.Camera.Enum.CameraType.(Scriptable)?
Yeah. without the ()'s tho.
Sorry but is it the second comment but without the ()?
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable