Skip to main content

CameraAllowChange

Description​

Controls whether the player can change the camera view. Pass true to allow changes or false to prevent them.

function CameraAllowChange(allow) --[[ ... ]] end

Parameters​

  • allow: boolean - Whether to allow camera change (true) or not (false).

Return Values​

None.

Example​

None.