ScriptRegion:IsAnchoringRestricted
(Redirected from API Region IsAnchoringRestricted)
Jump to navigation
Jump to search
Returns true if the region has cross-region anchoring restrictions applied.
isRestricted = ScriptRegion:IsAnchoringRestricted()
Returns
- isRestricted
- boolean -
true
if this region disallows anchors to exist between separate hierarchies.
Details
- Regions that are anchor-restricted cannot have positional attributes queried through methods such as GetPoint and GetRect.
- Attempting to anchor a region between two or more separate hierarchies where one contains an anchor-restricted region will result in an error.
Patch changes
Patch 9.0.1 (2020-10-13): Added.