Mod:Creation Kit/IsLocked - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Checks to see if this object is currently locked. If no lock is attached, returns false.

Syntax
bool Function IsLocked native

Parameters
None.

Return Value
If this object is currently locked.

Examples
if (SecurityDoorProperty.IsLocked) Debug.Trace("The door is locked") endIf
 * Is the door locked?