Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ScriptRegion GetRect

Last wiki revision 2023-08-14

Returns the coords and size of the region. left, bottom, width, height = ScriptRegion:GetRect = ScriptRegion:GetScaledRect

Returns if the region has no points.

  • left: - Bottom side of the screen to the bottom edge of the region.
  • bottom: - Left side of the screen to the left edge of the region.
  • width: - Distance between the left and right edges.
  • height: - Distance between the bottom and top edges.

is the result of multiplying by

  • UI GetUnscaledFrameRect

Source

https://warcraft.wiki.gg/wiki/API_ScriptRegion_GetRect · 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.