This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective. |
- This article or section documents an outdated version of Scratch (version 2.0). For this article in the current version (version 3.0), see Extension (3.0).
An extension is a group of blocks that provides additional functionality on top of the default Scratch editor. To load an extension in Scratch 2.0, go to the More Blocks section and click "Add an Extension".
List of Extensions
The following extensions were in Scratch 2.0:
Writing Extensions
JavaScript Extensions
JavaScript could be used to make extensions for Scratch 2.0. The official documentation for creating this kind of extension for Scratch 2.0 could be found on the ScratchX Github wiki.
The 2.0 extensions available in the offline editor, like the PicoBoard extension, were JavaScript extensions.
HTTP Extensions
Note: | This mechanism worked only with the offline editor. |
Scratch 2.0 could not interact with hardware devices directly. Instead, hardware extensions came with a helper app — a separate application that the user needed to install and run on their computer. Scratch communicated with the helper app via HTTP requests, and the helper app talked to the hardware.
A document (last updated: September 2013) had been drafted for Scratch 2.0 HTTP extension developers to describe the extension description file format — the protocol used to communicate between Scratch extension helper apps, and the extension development process. This specification was still preliminary, and was discontinued due to the release of Scratch 3.0.
The Scratch 2.0 extension mechanism was still under development, and the Scratch Team was still figuring out how the extensions will be shared and distributed. However, it was discontinued upon the release of Scratch 3.0.