EnableLooking - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

Function EnableLooking(abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable looking
myLayer.EnableLooking()


; Disable looking
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableLooking(false)

See Also