Discuss Scratch

erossryla
Scratcher
15 posts

Sprite Costumes being skipped when coded to Change

Bug description: When creating a sprite with multiple costumes (100+) and doing;
:
repeat ()
next costume
wait () secs

end

It should change into each individual costume for the wait time specified. However, recently it skips over them. Despite in the past I had sprites with larger amounts of costumes.

When it started: I only noticed it in my recent project but it could have been going on for longer.

Where it is: The Script Editor

Reproduction Steps:
1. Create a sprite with multiple costumes (100+).
2. Drag out a “repeat “ into the block editor and type for the amount of costumes.
3. Drag out a ”next costume “ into the “repeat “ block.
4. Drag out a ”wait () secs “ into the "repeat “ block and type “0.1”.
5. Click the code to use it (or add when green flag clicked block).

Result: It will begin working but will occasionally skip over multiple costumes.

Intended result: When you press the code (or green flag) it will change into every costume without skipping over any.

Example of project with issue: https://scratch.mit.edu/projects/1313773895/

For sprite “Charged Heart” it skips roughly between costume 98 to 226.

My browser / operating system: Windows 11, Chrome, No Flash version detected

Thank You

Last edited by erossryla (April 30, 2026 15:06:41)

Powered by DjangoBB