Discuss Scratch

GREENSTEVE123
Scratcher
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
Scratcher
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.
GREENSTEVE123
Scratcher
13 posts

random colour

Thank you, that really helps.
IntroducingW0ndr0us
Scratcher
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
Scratcher
19 posts

random colour

GREENSTEVE123 wrote:

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
Scratcher
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 ( ))]
Cat_Dusty
Scratcher
500+ posts

random colour

madboi6639 wrote:

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 ( ))]

Hi, if you have a question please make a new post instead of posting on an old forum. Thanks!

Powered by DjangoBB