Script That Can Get The Region Where an Animated Objects Move

Hello every one I need script that can get the region where an animated objects move.

I mean i have an object which is animated then i need to get the region that the object moves in so that i could make render for this only region.

Thanks alot