Basic idea and probably not the best… But you can create a second “fake” object to test distance on it… Create this second object on container.PointX(Center);container.PointY(Center).
On the other hand, it’s strange… Take a look on this topic : [url]Some Performance Questions - #5 by Lizard-13] According to the sources, and Lizard has confirmed it, the distance condition uses the “Center” point.