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!
getInstanceAtDepth for position?
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: getInstanceAtDepth for position?
Did you know there's a getDepth() property?