|This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (July 2021)|
|This article or section needs additional citations for verification. Its information may not be accurate. Editors can help by adding references. (July 2021)|
An undefined hat block is a block generated by an error. It can not be connected with any other block, and doesn't have any function. It is the only red block in Scratch 3.0. Because it is hardly formed, little is known about it. People call it a hat block but it is actually a combination of both a hat and cap block. One of the only known facts about it is it can be formed by naming a custom block an error character. It can also It cannot be commented, and commenting before dragging will cause the block to follow the mouse, even after you click.
- Make a new project and drag a block.
- Save the project to your computer and rename the .sb3 to .zip
- Open the .json file, locate the block, and rename it to something that doesn't exist.
- Change the file back into .sb3 and load it from your computer.
- The project should now have the block.
Another way is to name a custom block an error character.