Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] <

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MIA, Ask an Expert: If Touching?
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Thu, 20 Jan 2011 17:20:36 -0500

On Thu, 20 Jan 2011 16:59:33 -0500, <askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

from: Jeff Zeng <jeffryanzeng@xxxxxxxxx>
date: Thu Jan 20 14:59:33 2011
platform: PC
version: MicroWorlds Ex
i need help so that if i use "If Touching:", that if i make it that my t1 will setpos back to the original position if it touches t2. i used " if touching? "t1 "t2 [setpos [0 0]] " so please Help

That seems like it should work... It doesn't?
Is it sending another turtle to the origin? If so, try:

if touching? "t1 "t2 [talkto "t1 setpos [0 0]]

OpenWorld Learning

  • Previous by thread: MIA, Ask an Expert: If Touching?

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.

    © copyright 2001 - 2008