IsMovementEnabled - InputEnableLayer
Member of: InputEnableLayer Script
Checks to see if movement controls are currently enabled on this layer or not.
SyntaxEdit
bool Function IsMovementEnabled() native
ParametersEdit
None.
Return ValueEdit
If the movement controls are currently enabled on this layer or not.
ExamplesEdit
; Is movement allowed by this layer?
if myLayer.IsMovementEnabled()
Debug.Trace("Player can move (assuming no one else is blocking)!")
endIf
See AlsoEdit
- InputEnableLayer Script
- IsActivateEnabled - InputEnableLayer
- IsCamSwitchEnabled - InputEnableLayer
- IsFastTravelEnabled - InputEnableLayer
- IsFightingEnabled - InputEnableLayer
- IsJournalEnabled - InputEnableLayer
- IsLookingEnabled - InputEnableLayer
- IsMenuEnabled - InputEnableLayer
- IsSneakingEnabled - InputEnableLayer