[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> MicroWorlds mouse questions...




On Tue, 18 Nov 1997 13:48:47 -0500 (EST) WaltWES@aol.com wrote:

> In MicroWorlds 2.0 I need to know when the mouse was clicked?
> Mousepos lets me know where it is. 
> I have some boxes that I want filled in. The turtle will follow the mouse
> with:
> 	forever [setpos mousepos]
> I can hide the turtle so he is not seen filling in the boxes. 
> He just needs to know when the mouse is clicked to do the fill.

Walt, 

If I understand your problem correctly, you want to fill some areas when 
clicking on a (possibly hidden) turtle that is following the mouse. In MW 1 
for DOS, you can do this by starting the "forever [setpos mousepos]" from a 
button or procedure or from the command line, rather than from the turtle's 
instruction line. Then you can set the turtle's mouse-click instruction to 
whatever you like (eg "fill") and it will do this quite independently of the 
"mouse following". Is this what you were asking?

John Wolff                                
Melbourne, Australia



---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home