BlzGetMouseFocusUnit

comment

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

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.
patch

1.31.0.11889

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
unit
Source code
native BlzGetMouseFocusUnit                        takes nothing returns unit