IsMovementControlsEnabled - Game

Member of: Game Script

Checks to see if movement controls are currently enabled or not.

SyntaxEdit

bool Function IsMovementControlsEnabled() native global

ParametersEdit

None.

Return ValueEdit

If the movement controls are currently enabled or not.

ExamplesEdit

; Can the player move?
if Game.IsMovementControlsEnabled()
  Debug.Trace("Player can move!")
endIf

NotesEdit

  • Does not work reliably--will often return true even when movement is disabled.

See AlsoEdit