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

#1 2012-12-02 12:38:40

vickimintz
New Scratcher
Registered: 2012-12-02
Posts: 4

Control "wait until", sensing "touching sprite3"

When I use these control and then sense, it will not continue even after I touch sprite3. What am I doing wrong?

Offline

 

#2 2012-12-02 13:03:47

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: Control "wait until", sensing "touching sprite3"

Is one of the sprites hidden? If so that would be the problem. If not then I can't really think of what else could be wrong. I would have to see the scripts

Offline

 

#3 2012-12-02 13:10:32

GenChico
Scratcher
Registered: 2012-11-08
Posts: 100+

Re: Control "wait until", sensing "touching sprite3"

Do you have the green flag connect to  another control block like: " when GF clicked" or "when I receive" for example. Also as what Dankill said are you sure the sprite isn't hidden? You should upload it as a test project so we can see the scripts.


http://i.imgur.com/Cb8HC.png

Offline

 

#4 2012-12-02 13:13:41

GenChico
Scratcher
Registered: 2012-11-08
Posts: 100+

Re: Control "wait until", sensing "touching sprite3"

GenChico wrote:

Do you have the wait until block  connected to  another control block like: " when GF clicked" or "when I receive" for example. Do you have commands after the wait until block.Also as what Dankill said are you sure the sprite isn't hidden? You should upload it as a test project so we can see the scripts.

Edited for spelling


http://i.imgur.com/Cb8HC.png

Offline

 

#5 2012-12-02 13:13:52

vickimintz
New Scratcher
Registered: 2012-12-02
Posts: 4

Re: Control "wait until", sensing "touching sprite3"

http://scratch.mit.edu/projects/vickimintz/2951694

I can't tell if it is hidden. I don't know how to do anything on this  sad

Offline

 

#6 2012-12-02 13:19:23

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: Control "wait until", sensing "touching sprite3"

Is the green clam supposed to move? If not then it's impossible for it to touch sprite 3. I think what you want is to make it wait until you click sprite 3

Offline

 

#7 2012-12-02 13:25:35

vickimintz
New Scratcher
Registered: 2012-12-02
Posts: 4

Re: Control "wait until", sensing "touching sprite3"

@dankill51

No I don't think i set the green clam to move... I was trying to make it wait until I click sprite 3, how do i do that?

Offline

 

#8 2012-12-02 13:31:10

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: Control "wait until", sensing "touching sprite3"

Make a script in sprite three saying

when sprite 3 clicked
broadcast [   ]
and then in sprite 2 instead of using
when gf clicked
use

when I receive [   ]

Offline

 

#9 2012-12-02 13:32:29

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: Control "wait until", sensing "touching sprite3"

That red block should be a control block, sorry

Offline

 

#10 2012-12-02 14:37:46

vickimintz
New Scratcher
Registered: 2012-12-02
Posts: 4

Re: Control "wait until", sensing "touching sprite3"

I can't find the "when sprite 3 clicked" control...

Offline

 

#11 2012-12-02 15:00:06

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: Control "wait until", sensing "touching sprite3"

It's the third one down

Offline

 

#12 2012-12-02 15:07:51

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Control "wait until", sensing "touching sprite3"

vickimintz wrote:

I can't find the "when sprite 3 clicked" control...

To find that block, just go to Sprite3, and under the Control tab, you should see it 3 blocks down. Though, just to say, that block contains a small delay, so if you want, you could use this in Sprite3 to avoid that delay:

when gf clicked 
forever
 if (mouse down?)
  if (touching [mouse pointer v]?)
   broadcast [Broadcast v]
  end
 wait until <not (mouse down?)>
 end

I hope that this helps!

Last edited by ErnieParke (2012-12-02 15:10:32)


http://i46.tinypic.com/35ismmc.png

Offline

 

Board footer