Page 1 of 1

getInstanceAtDepth for position?

Posted: Fri Jun 12, 2009 2:19 pm
by Jonah Bron
Hello, world!

In my latest flash thing, I need to check if there are any objects at any given position. It's coded now to loop through all objects and check _x and _y, but I know that is pretty inefficient. Can you just retrieve an object at a certain position?

Thanks!

Re: getInstanceAtDepth for position?

Posted: Wed Jul 07, 2010 2:04 pm
by Jade
Did you know there's a getDepth() property?