Mod:Creation Kit/EnableMenu - InputEnableLayer

Member of: Mod:Creation Kit/InputEnableLayer Script

Enables or disables the player's ability to use the menu on this layer.

Syntax
Function EnableMenu(abEnable = true) native

Parameters

 * abEnable: If true, enables menu access. Otherwise disables it.
 * Default: True

Return Value
None.

Examples
InputEnableLayer myLayer = InputEnableLayer.Create myLayer.EnableMenu InputEnableLayer myLayer = InputEnableLayer.Create myLayer.EnableMenu(false)
 * Enable menu
 * Disable menu