BlzGetLocalClientWidth

comment

Gets the width (pixels) of the Warcraft 3 window.

note

This can temporarily return 0 while the client is minimized or changing display state. Be careful when using it in calculations (division by zero) for full-screen layout calculations

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
integer
Source code
native BlzGetLocalClientWidth                      takes nothing returns integer