How do I clear child elements

I want to know how to clear the child elements in the grid, because the name is needed to clear, I want to directly clear all the child elements in a grid, which master can help me

Hiya IP.

https://www.babylonjs-playground.com/#KX33X8#141

Check-out lines 248-252… should do the trick. It dispose()'s all grid-kids after 5-secs.

You can also use grid.getDescendants() to gather a pile of all controls (and their kids)… and munge-thru the pile to change names/text/whatever… (without dispose/re-stock).

Notice that getDescendants() has some powerful user-settable parameters/options. (If that link isn’t accurate, scroll-around in that doc a bit… you’ll find getDescendants)

Party on, hope I was helpful.