MainCamera.controls property

Returns the current camera controls, the type of the controls depends on the mode property:

Signature:

set controls(arg: FirstPersonCameraControlsWrapper | FlyCameraControlsWrapper | ThirdPersonCameraControlsWrapper);