HighlightLayer add mesh parent,children is not working

https://playground.babylonjs.com/#1KUJ0A#1446

It is by design a per mesh operation, and not a per hierarchy one mainly due to the extra cost of running highlights.

parent.getChildMeshs().foreach(m=>highlightLayer.addMesh(m,color))

it’s the only way?

currently yes, feel free to make a PR

Ok,thanks for your reply!

no problem, I know the constraints are not all obvious :frowning: