IsMenuControlsEnabled - Game

Member of: Game Script

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

SyntaxEdit

bool Function IsMenuControlsEnabled() native global

ParametersEdit

None.

Return ValueEdit

If the menu controls are currently enabled or not.

ExamplesEdit

; Can the player use the menu?
if Game.IsMenuControlsEnabled()
  Debug.Trace("Player can use the menu!")
endIf

See AlsoEdit