Attach BABYLON.GUI container to a mesh

I have the following task: I have a camera, a box, and a textblock. My box’s parent is the camera so that the box always faces the camera.
Now, I need to make it so that the textblock is attached to the side of the box facing the camera. So far, I haven’t found a way to do that. AnyBABYLON.GUI.Container’s parent must be another container. So I see no way of connecting a Mesh or an Abstract Mesh to a TextBlock.

If anyone can provide an insight it’d be much appreciated :slight_smile:

This might be what you are looking for linkwithmesh


yes i think so :slight_smile: thank you very much!