IsEnabled - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Checks to see if this object is currently enabled. (The opposite of IsDisabled)

Syntax

bool Function IsEnabled()

Parameters

None.

Return Value

If this object is currently enabled.

Examples

; Is the shield enabled?
if (ShieldProperty.IsEnabled())
  Debug.Trace("The shield is up!")
endIf

Note

  • This is basically isDisabled under the hood. So it's faster to call that instead.

See Also