[Squeakland] [Q] [eToys] Object under?

John Voiklis voiklis at redfigure.org
Tue Aug 19 17:50:25 PDT 2003


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 at squeakland.org
[mailto:squeakland-bounces at squeakland.org]On Behalf Of
diegogomezdeck at consultar.com
Sent: Tuesday, August 19, 2003 5:25 PM
To: squeak-dev at lists.squeakfoundation.org
Cc: squeakland at 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 at squeakland.org
http://squeakland.org/mailman/listinfo/squeakland



More information about the Squeakland mailing list