Mod:Creation Kit/Create - InputEnableLayer

Member of: Mod:Creation Kit/InputEnableLayer Script

Creates a new input enable layer for a script to use to enable/disable player controls. Note that these are a limited resource, so you should not hold onto them longer then you need to have the player's controls disabled.

Syntax
InputEnableLayer Function Create native global

Parameters
None.

Return Value
A new input enable layer. If the game is out of layers, it will return None.

Examples
InputEnableLayer myLayer = InputEnableLayer.Create
 * Create a new layer