IsZKeyEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Checks to see if z-key controls are currently enabled on this layer or not.

Syntax[edit | edit source]

bool Function IsZKeyEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the z-key controls are currently enabled on this layer or not.

Examples[edit | edit source]

; Is z-key allowed by this layer?
if myLayer.IsZKeyEnabled()
  Debug.Trace("Player can z-key!")
endIf

See Also[edit | edit source]