<?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=Examples_of_Scripts_with_Pen_Blocks</id>
	<title>Examples of Scripts with Pen Blocks - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=Examples_of_Scripts_with_Pen_Blocks"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Examples_of_Scripts_with_Pen_Blocks&amp;action=history"/>
	<updated>2026-06-17T14:09:08Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=Examples_of_Scripts_with_Pen_Blocks&amp;diff=1740&amp;oldid=prev</id>
		<title>Patarakin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Examples_of_Scripts_with_Pen_Blocks&amp;diff=1740&amp;oldid=prev"/>
		<updated>2022-07-21T08:33:15Z</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=Examples_of_Scripts_with_Pen_Blocks&amp;diff=1739&amp;oldid=prev</id>
		<title>scratch&gt;Banana439monkey: Undo revision 290404 by Combatkaya (talk) they like should be used in this scenario, while there should be consistency in the comments, i believe code practices dictate that periods in commas are bad</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Examples_of_Scripts_with_Pen_Blocks&amp;diff=1739&amp;oldid=prev"/>
		<updated>2021-10-16T17:11:37Z</updated>

		<summary type="html">&lt;p&gt;Undo revision 290404 by &lt;a href=&quot;/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%BA%D0%BB%D0%B0%D0%B4/Combatkaya&quot; title=&quot;Служебная:Вклад/Combatkaya&quot;&gt;Combatkaya&lt;/a&gt; (&lt;a href=&quot;/index.php?title=%D0%9E%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5_%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%B0:Combatkaya&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Обсуждение участника:Combatkaya (страница не существует)&quot;&gt;talk&lt;/a&gt;) they like should be used in this scenario, while there should be consistency in the comments, i believe code practices dictate that periods in commas are bad&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{stub|date=July 2017}}&lt;br /&gt;
One can make any project with whatever [[Pen Blocks|pen blocks]] they like, but here are some ideas:&lt;br /&gt;
&lt;br /&gt;
This script will make the sprite draw and glide/slide to a specific location.&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;when gf clicked // Starts the script.&lt;br /&gt;
pen down // Puts the pen down.&lt;br /&gt;
glide (1) secs to x:(...) y:(...) // Makes the sprite slide to the desired X and Y position.&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script will make the sprite draw while going to a random place every 0.1 seconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;when green flag clicked // Starts the script.&lt;br /&gt;
pen down // Puts the pen down.&lt;br /&gt;
forever // Lets the script repeat.&lt;br /&gt;
wait (0.1) secs // Makes a 0.1 second delay.&lt;br /&gt;
go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180)) // Teleports the sprite to a random place.&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script will put the pen down when the mouse is down.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;when green flag clicked // Starts up the script.&lt;br /&gt;
forever // Makes the script repeat.&lt;br /&gt;
go to (mouse pointer v) // Teleports sprite to mouse pointer&lt;br /&gt;
if &amp;lt;mouse down?&amp;gt; then // If the mouse is clicked...&lt;br /&gt;
pen down // Pen down!&lt;br /&gt;
else&lt;br /&gt;
pen up // If the mouse is not down... Pen up!&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script will draw a circle.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;when green flag clicked // Starts the script.&lt;br /&gt;
pen down // puts the pen down.&lt;br /&gt;
repeat (360) // repeat 360 times:&lt;br /&gt;
move (1) steps // move one step...&lt;br /&gt;
turn right (1) degrees // and turn!&lt;br /&gt;
end&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Pen]]&lt;br /&gt;
* [[Pen Projects]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials|Make a Paint Project]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Scratch Wiki Accueil/tutos/021 Dessiner avec souris]]&lt;/div&gt;</summary>
		<author><name>scratch&gt;Banana439monkey</name></author>
	</entry>
</feed>