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

#1 2009-11-28 12:32:44

theapproom
Scratcher
Registered: 2009-08-24
Posts: 38

Need Help On Closing Sprites!!!

I need help on having a sprite hide when the mouse touches the color red or clicks the color red, how do I do this?

Last edited by theapproom (2009-11-28 12:37:58)

Offline

 

#2 2009-11-28 12:57:32

DawnLight
Scratcher
Registered: 2009-04-25
Posts: 500+

Re: Need Help On Closing Sprites!!!

theapproom wrote:

I need help on having a sprite hide when the mouse touches the color red or clicks the color red, how do I do this?

Ok try this...

<when green flag clicked>
<forever>
<if><mouse x><<  <and>  >><mouse y>
<touching[ Mouse Pointer
<broadcast[ Hide Sprite

Then on the sprite:
<when I receive[ Hide Sprite
<hide>

Offline

 

#3 2009-11-28 13:07:10

theapproom
Scratcher
Registered: 2009-08-24
Posts: 38

Re: Need Help On Closing Sprites!!!

The mouse X and Mouse Y won't go into the operations box

Offline

 

Board footer