Hi Walt, Why code at all? MicroWorlds has a paint tools window that does exactly what you want. I am a great believer in using the tools that are available. There are countless other projects where coding is more appropriate (and fun). -----Original Message----- From: WaltWES@aol.com [SMTP:WaltWES@aol.com] Sent: Friday, November 21, 1997 1:38 PM To: Logo-L@gsn.org Subject: LOGO-L> Mouse click working... Logoers, Getting the mouse to click in my program works now. Thanks to all that helped...it was finally John Wolff's suggestion made sense to me. It would be nice to have a "mouseclick?" command but without it I can still get the program to know when I click the mouse. I am working with a Kindergarten teacher and trying to make a MicroWorlds program for her to use with their students. She wanted them to practice primary colors. Basically a coloring book. They were to click on the color they wanted to use and then click in the area they want to fill. It works like this so far...I am using MicroWorlds 2.0 for Win95. Using the paint program make three filled in circles at the bottom or side of the screen, one each red, blue, and yellow. Then create areas on the screen to be filled in. You could import a line art picture or just draw straight lines using the line tool. Write the two programs: to follow forever [setpos mousepos] end to fillin if colorunder = bg [fill] if not colorunder = bg [setc colorunder] end Right click on the mouse and give him the instruction "fillin". In the command center write "follow". Click away... One problem is that the program does not work if the mouse is hidden... Now to put some magic into the program filling yellow on red should give them orange. Walt Smith Cherry Middle School Tulare, California --------------------------------------------------------------- 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. --------------------------------------------------------------- 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