This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective. |
Change Costume by () | |
Category | Looks |
Type | Stack |
Removed in | 02Dec06 (1.0 beta) |
The Change Costume by () block was a Looks block and a Stack block. This block advanced to next costume the specified number of times. It was replaced in the November 2006 Beta by the next costume
block due to a bug workaround, and it was made an obsolete block. This block is not available in Scratch 2.0, but is still usable in Scratch 1.4.
Workaround
- Main article: List of Block Workarounds
This block can be replicated with the following code:
switch costume to ((costume [number v]) + (. . .::grey))
Example Uses
- Making an animation:
when green flag clicked forever change costume by (1)::looks wait (0.5) seconds end
See Also
For sprites |
Say () for () Seconds • Say () • Think () for () Seconds • Think () • Switch Costume to () • Next Costume • Switch Backdrop to () • Next Backdrop • Change Size by () • Set Size to ()% • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Show • Hide • Go to () Layer • Go () () Layers • Costume () • Backdrop () • Size
|
For the Stage |