getWindowWidth ============== :doc:`/types/Script/index`::getWindowWidth Returns the width of the window. Declaration ----------- .. code-block:: cpp int getWindowWidth(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - windowID - :doc:`/types/WindowID/index` - The window to get the width of. By default, this window will be the main window. Returns ------- The width of the window. Notes ----- The main window will be used if ``windowID`` is equal to ``NTSHENGN_WINDOW_UNKNOWN``.