IsMenuEnabled - InputEnableLayer

Revision as of 20:48, 11 February 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: InputEnableLayer Script

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

SyntaxEdit

bool Function IsMenuEnabled() Native

ParametersEdit

None

Return ValueEdit

If the menu controls are currently enabled on this layer or not.

ExamplesEdit

; Is this layer allowing menu access?
if myLayer.IsMenuEnabled()
  Debug.Trace("Player can use the menu (if no one else is blocking)!")
endIf

See AlsoEdit