This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-09-07 00:57:05

ginz
New Scratcher
Registered: 2010-09-05
Posts: 1

mac os will not allow me to pick random color for pen

hi!

i am trying to put the "pick random 1 to 10" operator into the color box location of "set pen color to ____" but it does not seem to work. Does anyone know why?

Offline

 

#2 2011-09-07 01:17:15

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: mac os will not allow me to pick random color for pen

Wait, which block are you trying to use?

This one?
http://www.freeimagehosting.net/newuploads/6d89d.gif

Or this one?
http://www.freeimagehosting.net/newuploads/d16c5.gif

If it's the first one, you can't insert any operators into it. That block only lets you choose a color from the screen with the eyedropper.

If it's the second one, then that's odd. However, there are 255 possible colors, so if you're only using "pick random 1 to 10" the changes will be barely noticeable. You'll want to change it to "pick random 1 to 255" instead.

Does that help?


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

Board footer