EnableMovement - InputEnableLayer
Member of: InputEnableLayer Script
Enables or disables the player's ability to move on this layer.
SyntaxEdit
Function EnableMovement(abEnable = true) native
ParametersEdit
- abEnable: If true, enables movement. Otherwise disables it.
- Default: True
Return ValueEdit
None.
ExamplesEdit
; Enable movement
myLayer.EnableMovement()
; Disable movement
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMovement(false)