Lore archive · Warcraft Wiki, 2023 dump
API ScriptRegion GetSize
Last wiki revision 2022-10-31
Returns the size of the region. width, height = ScriptRegion:GetSize ([ignoreRect]) width = ScriptRegion:GetWidth ([ignoreRect]) height = ScriptRegion:GetHeight([ignoreRect])
- ignoreRect: - If true, will only return the explicit size of this region and ignores any implicit size inferred from anchor points or contents.
- width: - The width of the region.
- height: - The height of the region.
The returned value is not affected by scale.
If is true and no explicit size has been set, then it will return a zero width and height.
Source
https://warcraft.wiki.gg/wiki/API_ScriptRegion_GetSize · 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.