Available since LÖVE 0.6.0
This function is not supported in earlier versions.
Returns an iterator for messages in the event queue.
i = love.event.poll( )
None.
function ifor n, a, b, c, d, e, f in love.event.poll() do if n == "quit" then -- Quit! end end
for e, a, b, c, d in love.event.poll() do if e == "quit" then -- Quit! end end
for e, a, b, c in love.event.poll() do if e == "q" then -- Quit! end end
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.event.poll