IsJumpingEnabled - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

bool Function IsJumpingEnabled() native

Parameters

None.

Return Value

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

Examples

; Is the layer allowing jumping?
if myLayer.IsJumpingEnabled()
  Debug.Trace("Player can jump (if no one else is blocking)!")
endIf

Notes

Enabling/disabling movement will also enable/disable jumping.

See Also