love.event.wait
Like love.event.poll(), but blocks until there is an event in the queue.
n, a, b, c, d, e, f, ... = love.event.wait()
n Event The name of event.
a Variant First event argument.
b Variant Second event argument.
c Variant Third event argument.
d Variant Fourth event argument.
e Variant Fifth event argument.
f Variant Sixth event argument.
... Variant Further event arguments may follow.