FANDOM


Next Costume
Next Costume
Category Looks
Type Stack

The Next Costume block is a Looks Block and a Stack Block. The block changes its sprite's costume to the next in the list of costumes - but if the current costume is the last in the list, the block will loop to the first.

Behind the ScenesEdit

Along with the Switch to Costume () block, it is one of the most commonly used Looks blocks. However, this block is technically unneeded due to the fact that Scratchers can simply use the following code:

Switch Costume (Next Costume)

To get the effect of the nonexistent Previous Costume block, the addition can be changed to subtraction.

Common UsesEdit

This block is mainly used in animation scripts, in which a sprite will progress through its costumes as with stop motion animation. The Wait () Secs block is often used along with it to improve the animation speed.

An example script is as follows:

Example animation script

This contains the costume change and the animation delay.


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.