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


Other Languages