{{oldin|[[0.9.0]]|090|type=function}}

Checks if a display mode is supported.
== Function ==
=== Synopsis ===
<source lang="lua">
supported = love.graphics.checkMode( width, height, fullscreen )
</source>
=== Arguments ===
{{param|number|width|The display width.}}
{{param|number|height|The display height.}}
{{param|boolean|fullscreen (false)|True to check for fullscreen, false for windowed.}}
=== Returns ===
{{param|boolean|supported|True if supported, false if not.}}
== See Also ==
* [[parent::love.graphics]]
[[Category:Functions]]
{{#set:Description=Checks if a display mode is supported.}}
{{#set:Since=000}}
{{#set:Sub-Category=Window}}
== Other Languages ==
{{i18n|love.graphics.checkMode}}