{{newin|[[0.6.0]]|060|type=function}}
Adds an event to the event queue.

From [[0.10.0]] onwards, you may pass an arbitrary amount of arguments with this function, though the default callbacks don't ever use more than six.
== Function ==
=== Synopsis ===
<source lang="lua">
love.event.push( n, a, b, c, d, e, f, ... )
</source>
=== Arguments ===
{{param|Event|n|The name of the event.}}
{{param|Variant|a (nil)|First event argument.}}
{{param|Variant|b (nil)|Second event argument.}}
{{param|Variant|c (nil)|Third event argument.}}
{{New_feature|0.8.0|
{{param|Variant|d (nil)|Fourth event argument.}}
|080}}
{{New_feature|0.10.0|
{{param|Variant|e (nil)|Fifth event argument.}}
{{param|Variant|f (nil)|Sixth event argument.}}
{{param|Variant|... (nil)|Further event arguments may follow.}}
|100}}
=== Returns ===
Nothing.
== Examples ==
{{New_feature|0.8.0|
<source lang="lua">
function love.keypressed(k)
	if k == 'escape' then
		love.event.push('quit') -- Quit the game.
	end	
end
</source>}}
{{Removed_new_feature|0.6.0|0.7.2|
<source lang="lua">
function love.keypressed(k)
	if k == 'escape' then
		love.event.push('q') -- Quit the game.
	end	
end
</source>}}
== See Also ==
* [[parent::love.event]]
[[Category:Functions]]
{{#set:Description=Adds an event to the event queue.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|love.event.push}}