{{newin|[[11.0]]|110|type=function}}
Gets the height in pixels of the window.

The graphics coordinate system and [[love.graphics.getHeight]] use units scaled by the screen's [[love.graphics.getDPIScale|DPI scale factor]], rather than raw pixels. Use getHeight for calculations related to drawing to the screen and using the coordinate system (calculating the center of the screen, for example), and getPixelHeight only when dealing specifically with underlying pixels (pixel-related calculations in a pixel [[Shader]], for example).
== Function ==
=== Synopsis ===
<source lang="lua">
pixelheight = love.graphics.getPixelHeight( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|pixelheight|The height of the window in pixels.}}
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.getPixelWidth]]
* [[love.graphics.getPixelDimensions]]
[[Category:Functions]]
{{#set:Description=Gets the height in pixels of the window.}}
{{#set:Sub-Category=Window}}
== Other Languages ==
{{i18n|love.graphics.getPixelHeight}}