Mod:Creation Kit/EnableSneaking - InputEnableLayer

Member of: Mod:Creation Kit/InputEnableLayer Script

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

Syntax
Function EnableSneaking(abEnable = true) native

Parameters

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

Return Value
None.

Examples
myLayer.EnableSneaking InputEnableLayer myLayer = InputEnableLayer.Create myLayer.EnableSneaking(false)
 * Enable sneaking
 * Disable sneaking