{{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.getMode]]}}
Returns the current display mode.
== Function ==
=== Synopsis ===
<source lang="lua">
width, height, fullscreen, vsync, fsaa = love.graphics.getMode( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|width|Display width.}}
{{param|number|height|Display height.}}
{{param|boolean|fullscreen|Fullscreen (true) or windowed (false).}}
{{param|boolean|vsync|True if vertical sync is enabled or false if disabled.}}
{{param|number|fsaa|The number of FSAA samples.}}

== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setMode]]
[[Category:Functions]]
{{#set:Description=Returns the current display mode.}}
{{#set:Sub-Category=Window}}
== Other Languages ==
{{i18n|love.graphics.getMode}}