IsDisabled - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object is currently disabled.

Syntax[edit | edit source]

bool Function IsDisabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object is currently disabled.

Examples[edit | edit source]

; Is the shield disabled?
if (ShieldProperty.IsDisabled())
  Debug.Trace("The shield is down!")
endIf

Notes[edit | edit source]

  • 'IsDisabled()' is slightly faster than IsEnabled.

See Also[edit | edit source]