W3cubDocs

/LÖVE

love.event.wait

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

Function

Synopsis

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

Arguments

None.

Returns

Event e
The type of event.
mixed a
First event argument.
mixed b
Second event argument.
mixed c
Third event argument.
mixed d
Fourth event argument.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.event.wait