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

#1 2008-10-02 15:18:59

mshansen
Scratcher
Registered: 2007-10-16
Posts: 3

"If Touching" not working.

Hello! I am having a problem where "if touching" doesn't seem to be working at all.  I have tried "if touching color" and "if touching sprite" and it completely fails to register.  I have the if statement in a forever block.  Is this something that other folks have had a problem with? Any suggestions? Thanks in advance.

Offline

 

#2 2008-10-02 15:35:24

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: "If Touching" not working.

Well, the color test can be thrown off if you are using the color effect - it varies the color so the test won't work.  The color has to be an exact match.  As for Touching...that won't work if one of the sprites is hidden.

The first thing to do is make sure that what you think is happening really is happening.  So put a Play Sound block inside the IF to make sure you will get an alarm if the test is working.  If you still can't figure out what is going on, share the project and let some of the helpful people on Scratch take a look at it.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer