{{newin|[[0.9.0]]|090|type=function}}
Gets the width and height in pixels of the window.
== Function ==
=== Synopsis ===
<source lang="lua">
width, height = love.graphics.getDimensions( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|width|The width of the window.}}
{{param|number|height|The height of the window.}}
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.getWidth]]
* [[love.graphics.getHeight]]
[[Category:Functions]]
{{#set:Description=Gets the width and height of the window.}}
{{#set:Sub-Category=Window}}
== Other Languages ==
{{i18n|love.graphics.getDimensions}}