From Test-Scratch-Wiki

Archive.png 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.
Document.png 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 ()
Change Costume By ().gif
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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.