Have you checked out this? Use the Babylon GUI - Babylon.js Documentation
It provides a link to this example, which looks like what you are trying to accomplish.
https://www.babylonjs-playground.com/#XCPP9Y#20
Have you checked out this? Use the Babylon GUI - Babylon.js Documentation
It provides a link to this example, which looks like what you are trying to accomplish.
https://www.babylonjs-playground.com/#XCPP9Y#20