<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.spheredev.org/index.php?action=history&amp;feed=atom&amp;title=Legacy%3AIsAnyKeyPressed</id>
		<title>Legacy:IsAnyKeyPressed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.spheredev.org/index.php?action=history&amp;feed=atom&amp;title=Legacy%3AIsAnyKeyPressed"/>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:IsAnyKeyPressed&amp;action=history"/>
		<updated>2026-05-25T08:30:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>http://wiki.spheredev.org/index.php?title=Legacy:IsAnyKeyPressed&amp;diff=570&amp;oldid=prev</id>
		<title>Apollolux: created from http://web.archive.org/web/20110803044948/http://www.spheredev.org/wiki/IsAnyKeyPressed</title>
		<link rel="alternate" type="text/html" href="http://wiki.spheredev.org/index.php?title=Legacy:IsAnyKeyPressed&amp;diff=570&amp;oldid=prev"/>
				<updated>2013-06-01T22:01:43Z</updated>
		
		<summary type="html">&lt;p&gt;created from http://web.archive.org/web/20110803044948/http://www.spheredev.org/wiki/IsAnyKeyPressed&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Checks if any key was pressed (eg. if there were keys in the key queue). Returns true if so, and else false.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
{{Usage|returns=boolean|func=IsAnyKeyPressed|params=}}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if (IsAnyKeyPressed())&lt;br /&gt;
{&lt;br /&gt;
  Abort(&amp;quot;A key was pressed or left in the key queue!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Checks if any key was pressed. If true, aborts with the message a key was pressed.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
*	IsAnyKeyPressed() can not receive which key was pressed! Use [[API:IsKeyPressed|IsKeyPressed]]() or [[API:GetKey|GetKey]]() for that.&lt;br /&gt;
*	The function does not halt the program like [[API:GetKey|GetKey]]() does and thus can be used in loops without interruption.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[API:GetKey|GetKey]]()&lt;br /&gt;
* [[API:IsKeyPressed|IsKeyPressed]]()&lt;br /&gt;
* [[API:Abort|Abort]]()&lt;/div&gt;</summary>
		<author><name>Apollolux</name></author>	</entry>

	</feed>