IsActivateEnabled - InputEnableLayer

Member of: InputEnableLayer Script

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

SyntaxEdit

bool Function IsActivateEnabled() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

; Is activation enabled on this layer?
if myLayer.IsActivateEnabled()
  Debug.Trace("Player can activate (assuming no one else is blocking it)!")
endIf

See AlsoEdit