BlzGetMouseFocusUnit

async
This function is asynchronous. The values it returns are not guaranteed to be the same for each player. If you attempt to use it in an synchronous manner it may cause a desync.
comment

Returns the unit that is currently hovered by the mouse of the local player.

patch

1.31.0.11889

return type
unit
Source code
native BlzGetMouseFocusUnit                        takes nothing returns unit
Source
common.j
wc3modding.com
BlzGetMouseFocusUnit