EnableActivate - InputEnableLayer

Member of: InputEnableLayer Script

Enables or disables the player's ability to activate items on this layer.

SyntaxEdit

Function EnableActivate(abEnable = true) native

ParametersEdit

  • abEnable: If true, enables activation. Otherwise disables it.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Enable activation
myLayer.EnableActivate()


; Disable activation
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableActive(false)

See AlsoEdit