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