IsSneakingEnabled - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

bool Function IsSneakingEnabled() native

Parameters

None.

Return Value

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

Examples

; Is this layer allowing sneaking?
if myLayer.IsSneakingEnabled()
  Debug.Trace("Player can sneak around (assuming no one else is blocking)!")
endIf

See Also