getInstanceAtDepth for position?
Posted: Fri Jun 12, 2009 2:19 pm
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!
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!