Get Material By Name

Hi.

Is it possible to get material by name? I looked over the docs but I didn’t find something like that. Maybe I missed it somehow.

1 Like

https://doc.babylonjs.com/api/classes/babylon.scene#getmaterialbyname

4 Likes

Lol. Well, that was embarrassing. Thank you @JohnK . Cheers

2 Likes