this came up in the Incest Taboo:
TypeChunk: no such object
Object Rabbits and foxes
Lineset the loc of button turtle to
turtlePtToMousePt(xycor())
Hintturtle
=
[EMAIL PROTECTED]http://www.erikhansen.org
__
Do You
Yes - use the within() function:
if within(grc Polygon,100,125) then
-- etc.
end if
HTH,
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Message: 4
Date: Wed, 24 Mar 2004 09:35:58 -0600
From: Ken Ray [EMAIL PROTECTED]
Subject: RE: Test for within graphic?
To: 'How to use Revolution' [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII
Yes - use the within() function:
if within(grc
For example the following beeps when two polygons intersect:
Cool stuff...
Notice that
If tPoint is within the rect of grc myPoly
is not the same as
if within(grc myPoly,tPoint)
although the docs says they should be.
I confess this is a bit confusing, since put the