Animation in component

I am trying to have an anumation of a box in a separate file, how do I access the scene element in a child component or do I return the animated cub in some way to make this work?

Hello, you can see an example of this here Import Animations Example | Babylon.js Playground (