Lore archive · Warcraft Wiki, 2023 dump
API ScriptRegion GetLeft
Last wiki revision 2023-08-18
Returns the offset in pixels from the screen to the region. left = ScriptRegion:GetLeft right = ScriptRegion:GetRight bottom = ScriptRegion:GetBottom top = ScriptRegion:GetTop x, y = ScriptRegion:GetCenter
Returns if the region has no points.
- left: - Left side of the screen to the left edge of the region.
- right: - Left side of the screen to the right edge of the region.
- bottom: - Bottom side of the screen to the bottom edge of the region.
- top: - Bottom side of the screen to the top edge of the region.
- x, y: - Left and bottom side of the screen to the center of the region. ,
The returned values can have floating point rounding errors.
- ,
Source
https://warcraft.wiki.gg/wiki/API_ScriptRegion_GetLeft · 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.