ESODecoded

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 Insightits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
HarvestMap9,454,533
Inventory Insight2,763,446
Advanced Filters - Updated (Inventory sub- & dropdown plugin filters)2,602,223
PerfectPixel1,399,987
LibScrollableMenu748,266
LibAddonMenu - OrderListBox widget456,482