Mod:Creation Kit/EnableFavorites - InputEnableLayer

Member of: Mod:Creation Kit/InputEnableLayer Script

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

Syntax
Function EnableFavorites(bool abEnable = true) Native

Parameters

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

Return Value
None

Examples
myLayer.EnableFavorites
 * Enable favorites

InputEnableLayer myLayer = InputEnableLayer.Create myLayer.EnableFavorites(false)
 * Disable favorites