Discuss Scratch

TheNpcGuY452
Scratcher
12 posts

Costume amout check

Hi!
I need some help with my code. I don't know how to do a code that checks amout of costumes for a sprite. I need it to make the code automatic, so i don't need to change the input of the custom block. Please give me a code that isn't so laggy.
awesome-llama
Scratcher
1000+ posts

Costume amout check

Costume numbers wrap so you can switch to costume number 0 and then check the costume number switched to. As the dropdown doesn't let you type in a number, you can insert any other operator that returns 0 such as an add block:

switch costume to ((0) + (0))
say (join [costume count: ] (costume [number v]))

Powered by DjangoBB