EnableRunning - InputEnableLayer

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

Function EnableRunning(abEnable = true) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable running
myLayer.EnableRunning()


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

See Also[edit | edit source]