IsRunningEnabled - InputEnableLayer

Member of: InputEnableLayer Script

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

SyntaxEdit

bool Function IsRunningEnabled() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit