Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

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

[Thread Prev] [Thread Next]

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MIA, Ask an Expert: OnTouching
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Fri, 29 Oct 2010 10:38:01 -0500

from: Anonymous <swanson6748g@xxxxxxxxxxxxxx>
date: Fri Oct 29 09:20:07 2010
platform: PC
version: MicroWorlds Ex
sety 0 - ( random 176 ) is in the onTouching area of a turtle, but it does nothing when touching.

When touching... what?

It has to touch another turtle, not a color. These are the rules from the Help:

Turtles can be programmed to react when they touch any other turtle. In the OnTouching field, type the instruction to run when the turtle touches (or is touched by) another turtle. Any change in the state of a turtle that results in a "collision" that you can observe visually will trigger a collision detection: fd, bk, home, setpos, drag and drop, setsize, etc. Both the "active" turtle (the one that is touching, due to a change in its state) and the "passive" turtle (the one that is touched) will react to the collision and do whatever they are instructed to do.


Daniel
OpenWorld Learning



  • Previous by thread: MIA, Ask an Expert: OnTouching
  • Next by thread: Re: MIA, Ask an Expert: OnTouching

  • 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