Script question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Script question

Andrew Burton-2
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
[hidden email]
http://utilitarian.us - A Guide to Esoteric Technology in Paragon City
http://jarodrussell.livejournal.com/ - Take a guess. ;)
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners