EnableZKey - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

Enables or disables the player's ability to z-key on this layer.

Syntax

Function EnableZKey(abEnable = true) native

Parameters

  • abEnable: If true, enables z-key. Otherwise disables it.
    • Default: True

Return Value

None.

Examples

; Enable z-key
myLayer.EnableZKey()


; Disable z-key
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableZKey(false)

See Also