{{newin|[[11.3]]|113|type=function}}
Gets current vertical synchronization (vsync).

== Function ==
=== Synopsis ===
<source lang="lua">
vsync = love.window.getVSync( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|vsync|Current vsync status. 1 if enabled, 0 if disabled, and -1 for adaptive vsync.}}
== Notes ==
This can be less expensive alternative to [[love.window.getMode]] if you want to get current vsync status.

== See Also ==
* [[parent::love.window]]
* [[love.window.setVSync]]

[[Category:Functions]]
{{#set:Description=Gets current vsync value.}}

== Other Languages ==
{{i18n|love.window.getVSync}}