|This article or section documents a feature not included in the current version of Scratch (3.0). It is only useful from a historical perspective.|
A hidden sprite is a sprite that does not appear in the sprites pane, but can still be programmed with accessed by selecting in the sprites pane. Scratch 1.4 required a more lengthy process than Scratch 2.0's method. Scratch 1.4's method is visible in the archive of this page, here.
In Scratch 2.0, creating a hidden sprite is very simple. Underneath the stage, simply click the paint brush icon to create a new sprite, and the paint editor will open for drawing its image. Exit out of the paint editor and the sprite is hidden; its image is complete transparency and therefore cannot be seen.
This method can be used for a variety of things, such as:
- Hiding passwords in projects.
- An alternative for locking downloads on a project.
- A way to hide parts of a project you don't want people seeing.
- A way to collab with other users through comments regular users wouldn't see.
|Warning:||Hidden sprites should not be used to crash the Scratch player or to prevent remixes.|
In an update on October 29, 2014, invisible sprites became visible in all projects. Every sprite got a gray square around them in the project editor, including invisible sprites. So, invisible sprites would all have a gray square around them, making them visible in the project editor.