Discuss Scratch

yeahyeah_test
Scratcher
11 posts

Random Costume

hey, I'm doing something for a project. i want it so when i click the button itll go to a random costume.. idk how. please help. whoever helps me gets a free love, follow and fav
BIG_FAT123
Scratcher
5 posts

Random Costume

Okay here
BIG_FAT123
Scratcher
5 posts

Random Costume

Okay, let's say we have 4 costumes.

Last edited by BIG_FAT123 (Feb. 19, 2021 17:41:27)

yeahyeah_test
Scratcher
11 posts

Random Costume

BIG_FAT123 wrote:

whenthisspriteclickedswitchcostumeto(pick random (number) to (number))
thanks and its ur lucky day
Nezon
Scratcher
1000+ posts

Random Costume

whenclickedswitchcostumetorandom coustume

If you click on the box in switch coustume to and scroll down inside it, it will have something called next coustume, back coustume, and random coustume.
Mario_and_Luigi_123
Scratcher
100+ posts

Random Costume

Try this

whenclickedswitchcostumetopickrandom1to3
Oumuamua
Scratcher
1000+ posts

Random Costume

Nezon wrote:

whenclickedswitchcostumetorandom coustume

If you click on the box in switch coustume to and scroll down inside it, it will have something called next coustume, back coustume, and random coustume.

Hi, the random option is only for backdrops, not for costumes.
Greetings.
redspacecat
Scratcher
500+ posts

Random Costume

First, you need this:
pickrandom1to10
Then, change the “10” to the number of costumes you have.

Then, put it inside a
switchcostumeto
block.

Now it should look like this:
switchcostumetopickrandom1to10
That should do it!

Powered by DjangoBB