How do I check the camera mode the player has chosen?

I want to check what camera mode the user has set, but I can’t seem to find the properties. The only documentation I can find is from the devhub article on DevComputerCameraMode, but that seems to be a default, not the current mode the player is using. Is there anything like what I would like?

You can get access to some of players’ settings by fetching this service:

UserSettings():GetService("UserGameSettings")

From that service, the ComputerCameraMovementMode and TouchCameraMovementMode will tell you what camera mode the user has selected (with “Default” being an option, which will correspond to “Classic” on Desktop and “Follow” on Mobile at the time of writing).

Oh, wow! Thank you! I didn’t even know that service existed!

It is pretty obscure. It is referenced in the default camera scripts (since that’s how they fetch the value), but it takes some digging to find. There is a wiki page for it here, and it does have some other useful properties, but a lot are locked for use by CoreScripts.