Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » random colour
- GREENSTEVE123
-
13 posts
random colour
Hi! I was just wondering if anybody knew the maximum number for the block below? i want to make a random colour there, but im not sure what number to put in the other end of the pick random.
set [Colour] effect to ((pick random (1) to ()))
- 3point14159265
-
19 posts
random colour
If you mean what is the maximum color effect, it is 200. So if you want a random color effect, put the pick random to 1 to 200. 200 is also basically 0 because if you set the color effect to 200, it keeps it at the original color.
- IntroducingW0ndr0us
-
100+ posts
random colour
Make sure to close this topic if you're finished, to prevent necroposting, as it seems this post is resolved. 

- 3point14159265
-
19 posts
random colour
Thank you, that really helps.
Forgot to mention this in my first post - If you want a 0 percent chance of switching colors to the original color of the sprite, then put it to 199 instead of 200. Also, random color effect significantly increases lag in a project, so I would recommend avoiding it when possible.
- madboi6639
-
4 posts
random colour
I am wondering how to make a random pen color with just 2 blocks. What is the number for the blank?
set pen color to [#(pick random (1) to ( ))]
- Discussion Forums
- » Help with Scripts
-
» random colour