Lore archive · Warcraft Wiki, 2023 dump
API ScriptRegion IsMouseOver
Last wiki revision 2023-08-15
Returns true if the mouse cursor is hovering over the region. isMouseOver = ScriptRegion:IsMouseOver([offsetTop, offsetBottom, offsetLeft, offsetRight])
- offsetTop: - Top offset; positive values extend the region for which this function returns true upward.
- offsetBottom: - Bottom offset; negative values extend the region for which this function returns true downward.
- offsetLeft: - Left offset; negative values extend the region for which this function returns true towards the left.
- offsetRight: - Right offset; positive values extend the region for which this function returns true towards the right.
- isMouseOver: - True if the mouse cursor is currently over the region (as modified by the offset arguments); false otherwise.
Returns true if the cursor is within 2 pixels of the region.
Returns true if the cursor is within 50 pixels to the left of the region.
Source
https://warcraft.wiki.gg/wiki/API_ScriptRegion_IsMouseOver · 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.