Difference between revisions of "love.event.wait"

m (Added further arguments and newin and new feature templates)
m (See Also: Added link)
Line 21: Line 21:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.event]]
 
* [[parent::love.event]]
 +
* [[love.event.poll]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Like love.event.poll(), but blocks until there is an event in the queue.}}
 
{{#set:Description=Like love.event.poll(), but blocks until there is an event in the queue.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.event.wait}}
 
{{i18n|love.event.wait}}

Revision as of 09:10, 30 December 2018

Available since LÖVE 0.6.0
This function is not supported in earlier versions.

Like love.event.poll(), but blocks until there is an event in the queue.

Function

Synopsis

n, a, b, c, d, e, f, ... = love.event.wait( )

Arguments

None.

Returns

Event n
The name of event.
Variant a
First event argument.
Variant b
Second event argument.
Variant c
Third event argument.
Available since LÖVE 0.8.0
Variant d
Fourth event argument.


Available since LÖVE 0.10.0
Variant e
Fifth event argument.
Variant f
Sixth event argument.
Variant ...
Further event arguments may follow.

See Also


Other Languages