sm.localPlayer.setLockedControls

Sets whether the player's in-game controls are locked.

Kind: Function

Environments: Game

Game

sm.localPlayer.setLockedControls( locked )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
locked boolean The lock state.