GetUIMousePosition
ESO Lua API function — used by 33 of the 3,030 addons we indexed (combined 18,117,626 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetUIMousePosition()Returns: number x, number y
Real usage — from Inventory Insight
local x, y = GetUIMousePosition()
local parentTooltipTop = parentTooltip:GetTop()Short excerpt from the shipping addon Inventory Insight — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| HarvestMap | 9,454,533 |
| Inventory Insight | 2,763,446 |
| Advanced Filters - Updated (Inventory sub- & dropdown plugin filters) | 2,602,223 |
| PerfectPixel | 1,399,987 |
| LibScrollableMenu | 748,266 |
| LibAddonMenu - OrderListBox widget | 456,482 |