IsSneakingControlsEnabled - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

bool Function IsSneakingControlsEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the sneaking controls are currently enabled or not.

Examples[edit | edit source]

; Can the player sneak around?
if Game.IsSneakingControlsEnabled()
  Debug.Trace("Player can sneak around!")
endIf

See Also[edit | edit source]