From Test-Scratch-Wiki

This article or section documents an outdated version of Scratch (version 1.4). For this article in Scratch 2.0, see Eng:Block Plugin (2.0).

The Block Plugin is a plugin for the Scratch Forums and Scratch Wiki, made by JSO, that allows script images to be constructed through text that is parsed and rendered.[1] It was implemented on the wiki on New Year's Day 2012 and on the Scratch Forums in late January 2012. It was designed to replace using images and the archaic forum blocks. Scratchers could test out the blocks on this forum thread or on the Wiki's Sandbox.

This plugin is no longer in use, having been replaced by a new version for Scratch 2.0.


when gf clicked
repeat until <(timer) > [10]>
  go to [mouse-pointer v]
think [Scripts in your posts!] for (3) secs

Basic Syntax

Main article: Block Plugin (1.4)/Syntax

On the Scratch Wiki, code must be inserted between the <scratchblocks>...</scratchblocks> tags, while on the forums they are inserted between [scratchblocks]...[/scratchblocks] tags.

The basic syntax of for the Block Plugin is as follows:

Note Note: This is rendered using the Scratch 2.0 system, the old one is no longer available, although the syntax still works.

Code Use Example Which renders
block name a block stamp
end stops a C block (only necessary in the middle of a script) repeat (5)

move (10) steps

end say [Done!]

repeat (5)
move (10) steps
say [Done!]
[text] a text input say [Hello World]
say [Hello World]
(variable) a variable or Reporter Block (x position)
(x position)
(123.4) a number wait (0.5) secs
wait (0.5) secs
[text v] a dropdown box broadcast [Start v]
broadcast [Start v]
<boolean> a Boolean Block <mouse down?>
<mouse down?>
[#FFFFFF] a color input <touching color [#FF0000]?>
<touching color [#FF0000]?>
// comment text a comment hide//Text


Main article: Block Plugin (1.4)/Bugs

The blocks plugin has many bugs. A list of current and past bugs can be seen in the main article above.

External Links

  • The old block plugin is still in use on the forum archive site. source here.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.