Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ScriptRegion IsProtected

Last wiki revision 2023-11-13

Returns whether the region is currently protected. isProtected, isProtectedExplicitly = ScriptRegion:IsProtected

  • isProtected: - true if the frame is currently protected.
  • isProtectedExplicitly: - true if the widget was explicitly specified as protected at the time of creation.
  • You cannot call methods 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.
  • Object security

Source

https://warcraft.wiki.gg/wiki/API_ScriptRegion_IsProtected · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.