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

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

[Thread Prev] [Thread Next]

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: setpos in some condition
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Mon, 01 Mar 2010 11:46:59 -0500

On Mon, 01 Mar 2010 10:34:49 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:

>  Hello Forum!
> I want to write general procedure that there will be a condition like this:
>  If t1's position is for example [0 0] each turtle I click on will be in 
>  this position.
> Something like this:
> if ( t1's  pos  = [0 0]) [who setpos t1'pos]
> who must be the one I clickon, each time I click on  another turtle/
> How can I do it.
>     Thanks, Zehava

if [0 0] = ask "t1 [pos] [ask who [setpos [0 0]]]

(project attached)

OpenWorld Learning

Attachment: check_and_move.mwx
Description: application/mwx-plugin

  • Previous by thread: setpos in some condition
  • Next by thread: Re: setpos in some condition

  • 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