Use the "overlaps" tile; a sample script, looked at in text mode, would look like this:
script1 self forward: 5. (self overlaps: Ellipse1) ~~ false ifTrue: [self beep: 'coyote']
Best,
John
-----Original Message----- From: squeakland-bounces@squeakland.org [mailto:squeakland-bounces@squeakland.org]On Behalf Of diegogomezdeck@consultar.com Sent: Tuesday, August 19, 2003 5:25 PM To: squeak-dev@lists.squeakfoundation.org Cc: squeakland@squeakland.org Subject: [Squeakland] [Q] [eToys] Object under?
Hi,
I'd like to get a reference to the morph under the given object. The same idea behind color-under but with a reference to a morph instead to a color.
Is it possible?
TIA,
Diego
_______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland