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

#1 2008-11-15 17:00:53

kiwikutie101
Scratcher
Registered: 2008-11-15
Posts: 1

Coloring Project?

I was trying to make a project where when the mouse was down there would be a pen line after but it didnt work it wouldn't go away from the cursor and was just making dots. Help?!?!?!  sad

Offline

 

#2 2008-11-15 19:52:57

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Coloring Project?

Try this:

[blocks]<when green flag clicked>
<forever>
<if><mouse down?>
<pen down>
<else>
<pen up>
<end>


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#3 2008-11-16 05:08:06

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Coloring Project?

technoguyx wrote:

Try this:

[blocks]<when green flag clicked>
<forever>
<if><mouse down?>
<pen down>
<else>
<pen up>
<end>[/blocks]

Close...but you need something to bring the sprite to the mouse.  And it will work better if you hide the sprite so that Scratch doesn't think you are clicking on it...

[blocks]<when green flag clicked>
<hide>
<forever>
<go to[ Mouse-Pointer
<if><mouse down?>
<pen down>
<else>
<pen up>
<end>
<end>[/blocks]


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer