Wowpedia
Advertisement
Wowpedia
240,483
pages

Returns whether the widget is currently protected (both implicitly and explicitly).

isProtected, isExplicitlyProtected = Region:IsProtected()

Returns

isProtected 
Flag - 1 if the frame is currently protected, nil otherwise.
isExplicitlyProtected 
Flag - 1 if the widget was explicitly specified as protected at the time of creation, nil otherwise.

Details

  • You cannot call method affecting the frame's position, visibility, interactivity, or attributes on protected (isProtected) frames from insecure code while the combat lockdown is in effect.
  • Anchoring or parenting a protected frame to another frame makes that frame implicitly protected as well (isProtected, but not isExplicitlyProtected). This applies recursively. Removing all protected children/anchors will clear implicit protection.

Patch changes

See also

Advertisement