Pointer change on multiple meshes

Here I have the mouse pointer changing on hover of the block and front wheel from the imported mesh. Is there a cleaner method of having the pointer change on all the nodes within the mesh?

https://www.babylonjs-playground.com/#YIU90M#86

Thanks for any help

I am not sure if this is what you want to achieve. But you can iterate through all meshes in the scene and enable picking.

https://www.babylonjs-playground.com/#YIU90M#87

2 Likes

That’s perfect! Thanks very much for your time

1 Like