BlzIsLocalClientActive

comment

Returns true if Warcraft 3 window is in focus.

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
boolean
Source code
native BlzIsLocalClientActive                      takes nothing returns boolean