IsMovementControlsEnabled - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

bool Function IsMovementControlsEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the movement controls are currently enabled or not.

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]