IsMenuEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 16:47, 12 February 2013 by imported>Plplecuyer (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

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

Syntax

bool Function IsMenuEnabled() native

Parameters

None.

Return Value

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

Examples

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

See Also