API Region IsProtected

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 frames from insecure code while the  is in effect.
 * Anchoring or parenting a protected frame to another frame makes that frame implicitly protected as well (, but not ). This applies recursively. Removing all protected children/anchors will clear implicit protection.