Interaction Box / Widget like Deus Ex, but how?

Hello Guys!

Im trying to implement an Interaction Widget / Box like in Deus Ex, where its a Box thats playing an Animation, basically just getting bigger and smaller again. How would i calculate the size of the mesh so the widget gets sized accordingly?

any help is appreciated <3