Background for Fallout 4
Member of the InputEnableLayer script
boolfunctionIsSneakingEnabled()Native

Description

Wiki Description

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

Documentation Comment

Returns whether sneaking is enabled on this layer


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myInputEnableLayer__toCallFunctionOn.IsSneakingEnabled()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.