FreezeControls( <freeze state> )


Module: Player

Summary:

Blocks or unblocks control input from this player



Call this on:

The player



Example:

level.player freezeControls( true );



Required Args:

  • 1 : <freeze state>: true if the player's controls are frozen, false otherwise.