Hi~I'm new here and i've got 2 questions~~~could anybody help me out?Thanks

Q1:
Is there any way to get “Mesh” width and height value?I wanna set it as a root Element…that just same with screenWidth…I dont know how to deal with it,


here’s the pg => Babylon.js Playground

Q2:
When I use DynamicTexture, and I follow the guide, then I wanna set text automatically “change size” and “center-align” according to “Ground Size Change”,I try to find the connection between “text” and the “ground”,is there anything I’ve missed there?I’m trapped here~~~~

thank you for helping me with my problem~~~

Hi and welcome!

you will find the answers to your questions here:

Yes ,Thanks,I followed the code and its run perfect:smiley::smile: