EnableMovement - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

Function EnableMovement(abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable movement
myLayer.EnableMovement()


; Disable movement
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMovement(false)

See Also