MainCamera.controls property

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

Signature:

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