Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetScreenHeight

From WoW Classic Wiki

Returns the height of the window in pixels.

GetScreenHeight();

Arguments
none

Returns
Number screenHeight
screenHeight
Height of window in pixels

Example
if( GetScreenHeight() == 600) then ChatFrame:AddMessage("Using 800x600 mode"); end
Result
Using 800x600 mode

Description
Returns the height of the window in pixels.