[Newbies] Script question

Andrew Burton darkbeast at darkbeast.com
Fri Nov 10 18:32:02 UTC 2006


I'm trying to put together a small script that will move a Sketch when 
it's under the mouse.  Right now the Sketch just sits there, mouse over 
or not.  I don't think my conditional is setup right, but can't seem to 
find just how it should look.  Here's the script as it looks:

script1
       (self isUnderMouse)
           ifTrue: [self forward: 5].

Any help would be appreciated.  Thanks!

-- 
Andrew Burton
tuglyraisin at aol.com
http://utilitarian.us - A Guide to Esoteric Technology in Paragon City
http://jarodrussell.livejournal.com/ - Take a guess. ;)


More information about the Beginners mailing list