{{newin|[[0.6.0]]|060|type=function}}
Like <code>[[love.event.poll]]()</code>, but blocks until there is an event in the queue.
== Function ==
=== Synopsis ===
<source lang="lua">
n, a, b, c, d, e, f, ... = love.event.wait( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Event|n|The name of event.}}
{{param|Variant|a|First event argument.}}
{{param|Variant|b|Second event argument.}}
{{param|Variant|c|Third event argument.}}
{{New_feature|0.8.0|
{{param|Variant|d|Fourth event argument.}} }}
{{New_feature|0.10.0|
{{param|Variant|e|Fifth event argument.}}
{{param|Variant|f|Sixth event argument.}}
{{param|Variant|...|Further event arguments may follow.}} }}
== See Also ==
* [[parent::love.event]]
* [[love.event.poll]]
[[Category:Functions]]
{{#set:Description=Like love.event.poll(), but blocks until there is an event in the queue.}}
{{#set:Since=000}}

== Other Languages ==
{{i18n|love.event.wait}}