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

#1 2012-02-15 17:01:22

DrZach21
New Scratcher
Registered: 2012-02-15
Posts: 2

Functions that affect other sprites

Is there any way that I can make it so that when someone clicks on the sprite, it hides another sprite?

Thanks in advance...

Offline

 

#2 2012-02-15 17:06:12

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Functions that affect other sprites

Use broadcasts.

Sprite1:

when [Sprite1] clicked
broadcast [clicked]
Sprite2:

when I receive [clicked]
hide

Last edited by bobbybee (2012-02-15 17:06:53)


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#3 2012-02-15 17:51:18

DrZach21
New Scratcher
Registered: 2012-02-15
Posts: 2

Re: Functions that affect other sprites

Thanks, i'll try it.

Offline

 

#4 2012-02-15 18:07:01

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Functions that affect other sprites

Yeah, like bobby said, you can just do a broadcast, broadcasts are like messages that a sprite can take an action upon it's receiving.


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

Board footer