IsActivateEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

bool Function IsActivateEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]