IsMovementEnabled - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

Checks to see if movement controls are currently enabled on this layer or not.

Syntax

bool Function IsMovementEnabled() native

Parameters

None.

Return Value

If the movement controls are currently enabled on this layer or not.

Examples

; Is movement allowed by this layer?
if myLayer.IsMovementEnabled()
  Debug.Trace("Player can move (assuming no one else is blocking)!")
endIf

See Also