I''l have a look on both suggestions. thanks.
* Okay Ziored's way works good. But when I have a very large scene with lots of objects, isn't this very computer power comsuming? I mean the scene can hold thousand of objects, is looking through every child in the scene very heavy?
haven't looked in your pi script yet Rick, but I will do that to.