IsZKeyEnabled - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

bool Function IsZKeyEnabled() native

Parameters

None.

Return Value

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

Examples

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

See Also