Discuss Scratch

HeHeTeeHeeHee
Scratcher
100+ posts

Need help with pen

How do I randomly set the pen color so it randomly changed colors so it produces rainbow lines??


^^

HeHeTeeHeeHee wrote:

i'm brain dead aren't i
i usually use advanced topics or help with scripts but sometimes i can be found in things i'm playing and reading
awesome-llama
Scratcher
1000+ posts

Need help with pen

You can do it randomly like this:

set pen [color v] to (pick random (1) to (100))::pen

The “color” option of this block affects the hues of the color only.

Last edited by awesome-llama (Oct. 12, 2021 19:20:29)



HeHeTeeHeeHee
Scratcher
100+ posts

Need help with pen

awesome-llama wrote:

You can do it randomly like this:

set pen [color v] to (pick random (1) to (100))::pen

The “color” option of this block affects the hues of the color only.


Thank you. I figured that out myself shortly after posting this though.

HeHeTeeHeeHee wrote:

i'm brain dead aren't i
i usually use advanced topics or help with scripts but sometimes i can be found in things i'm playing and reading
HeHeTeeHeeHee
Scratcher
100+ posts

Need help with pen

HeHeTeeHeeHee wrote:

awesome-llama wrote:

You can do it randomly like this:

set pen [color v] to (pick random (1) to (100))::pen

The “color” option of this block affects the hues of the color only.


Thank you. I figured that out myself shortly after posting this though.



Somebody please close this post.

HeHeTeeHeeHee wrote:

i'm brain dead aren't i
i usually use advanced topics or help with scripts but sometimes i can be found in things i'm playing and reading

Powered by DjangoBB