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

#1 2013-04-07 00:38:42

lolguy900
New Scratcher
Registered: 2013-04-07
Posts: 1

Detection of sprites

I am having trouble of getting my project to work, this is one of the main reasons:

Let's just say it this way:

If sprite1 is touching sprite4

the detection output is sprite3, but I couldn't find some scripts to make it working.

Offline

 

#2 2013-04-07 10:57:31

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Detection of sprites

The detection output? What is that exactly?

Basically, you use this block in either sprite one or sprite 4:

if <touching? [sprite 1 v]>
do what you want.
end
You would of course select the opposite if this was in sprite one....

Hope that helps,

CAA14

Last edited by CAA14 (2013-04-07 10:59:03)

Offline

 

Board footer