|
Ian wrote:
I have 10 squares and 10 numbers all turtles. I have
programmed
the boxes to change (a new turtle) when touching i.e., when t1 touches
s1,
t1 & s1 will hide & s1a appears. How can I also program
them
to say that if s1 touches any of the other 9 squares I want it to go back
to
it's set pos?
Ian,
It's a little difficult to get a clear idea
of the
context of your question. I'm guessing that "boxes" and "squares" are
the
same thing. I'm guessing that by "a new turtle" you mean a new
turtleshape
for the "s" turtle (which is not really the same as a new turtle). I'm
guessing
that all the "square" and "number" turtles are moving
about randomly at the same time. I'm guessing that by "it's
set
pos" you mean that turtle's original position. I'm guessing that by "I want
it..." you mean that you want only one of the two squares that have
touched to return to its original position.
That's an awful lot of guessing. What say you
try
to clarify these things? It will make the chances of getting a useful
answer a lot better.
-Jeff
|