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

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