<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=Number_Pad_Detection</id>
	<title>Number Pad Detection - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=Number_Pad_Detection"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Number_Pad_Detection&amp;action=history"/>
	<updated>2026-04-30T21:16:03Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=Number_Pad_Detection&amp;diff=1670&amp;oldid=prev</id>
		<title>Patarakin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Number_Pad_Detection&amp;diff=1670&amp;oldid=prev"/>
		<updated>2022-07-21T08:33:13Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 11:33, 21 июля 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=Number_Pad_Detection&amp;diff=1669&amp;oldid=prev</id>
		<title>scratch&gt;Jvvg: removed superfluous category</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Number_Pad_Detection&amp;diff=1669&amp;oldid=prev"/>
		<updated>2019-01-08T19:26:59Z</updated>

		<summary type="html">&lt;p&gt;removed superfluous category&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{obsolete feature}}&lt;br /&gt;
This tutorial shows how to detect if a numpad key is down in [[Scratch 1.4]].&lt;br /&gt;
&lt;br /&gt;
==Script==&lt;br /&gt;
The [[When () Key Pressed]] block fires either when a number key is pressed using the writing row or the numeric pad. The [[Key () Pressed?]] block with the numbers 0-9 selected, however, only reports true if the number in the writing row is down.&lt;br /&gt;
&lt;br /&gt;
Add this [[script]] to the project:&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;when [1 v] key pressed&lt;br /&gt;
if &amp;lt;key [1 v] pressed?&amp;gt;then&lt;br /&gt;
set [type of number v] to [writing field &amp;quot;1&amp;quot;]&lt;br /&gt;
else&lt;br /&gt;
set [type of number v] to [numeric field &amp;quot;1&amp;quot;]&lt;br /&gt;
end&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The script is now complete. Repeat for the other 9 keys.&lt;br /&gt;
&lt;br /&gt;
==Example Uses==&lt;br /&gt;
* Adding a hidden menu&lt;br /&gt;
* Making [[Operating System]] projects more realistic&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Key () Pressed? (block)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials]]&lt;br /&gt;
[[ja:テンキーを検出する]]&lt;/div&gt;</summary>
		<author><name>scratch&gt;Jvvg</name></author>
	</entry>
</feed>