EnableRunning - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

Function EnableRunning(abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable running
myLayer.EnableRunning()


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

See Also