EnableRunning - InputEnableLayer

Member of: InputEnableLayer Script

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

SyntaxEdit

Function EnableRunning(abEnable = true) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; Enable running
myLayer.EnableRunning()


; Disable running
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableRunning(false)

See AlsoEdit