Skip to content

get_screen_height

Return the window height in pixels.

Takes no arguments.

local height = get_screen_height()

Related: get_screen_width, window_size.

See the drawing guide for more examples and limits.