Animation problems, 2 geometries in 1 display

Tree branches are represented as an array in the API and you can access them with this call:

api.scene.get({name:"NAME_OF_YOUR_DISPLAY_PUTPUT", format:"glb"},"CommPlugin_1").data[0].content

See more in this post and Documentaion:

https://support.shapediver.com/hc/en-us/articles/360023352271-Architecture-of-the-3D-scene-in-the-ShapeDiver-viewer