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

#1 2012-01-18 14:08:30

pklynch
New Scratcher
Registered: 2012-01-18
Posts: 2

Interaction

Is there a way to have sprites interact beyond "touching"? like passing data back and forth: for example if Sprite1 is clicked Sprite2 says "Sprite1 was clicked?"

Offline

 

#2 2012-01-18 14:20:42

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Interaction

Well, you could have Sprite1 have a script [when I am clicked] [broadcast [Sprite1 clicked]]. Then, in Sprite2, have [when I receive [Sprite1 clicked]] [say [Sprite1 was clicked]].

Offline

 

#3 2012-01-18 14:27:05

jjman713
Scratcher
Registered: 2011-09-28
Posts: 3

Re: Interaction

use broadcasting

Offline

 

Board footer