From Test-Scratch-Wiki
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. |
Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. |
Change Costume by () | |
Category | Looks |
Type | Stack |
Removed in | November 2006 Beta |
The Change Costume by () block was a Looks block and a Stack block. This used to advance the current costume to the next ones. It was removed in the November 2006 Beta due to a bug workaround, and it was made an obsolete block. This block is not in Scratch 2.0 (the Flash Player) anymore, but still usable in Scratch 1.4.
Workaround
- Main article: List of Block Workarounds
This block can be replicated with the following code:
switch to costume ((costume #) + (1))
or
next costume // Only advances costume by 1
Example Uses
Since it was removed, the change costume by () is red.
change costume by (1)
But if it wasn't removed, it would be commonly used in animation and with the wait block.
when gf clicked forever change costume by (1) // category=looks wait (0.5) secs end
See Also
For sprites |
Say () for () Secs
• Say () • Think () for () Secs • Think () • Show • Hide • Switch Costume to () • Next Costume • Switch Backdrop to () • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Change Size by () • Set Size to ()% • Go to Front • Go Back () Layers • Costume # • Backdrop Name • Size |
For the Stage |