Mouse Event listener to change the colour of GLB 3D model

Hello Reader,
I was hoping is there any possible way to select a 3D GLB Model through mouse event listener and change it’s color or position on the browser when it is running?
Your help would be highly appreciated,
Warm Regards.

The way to select objects is the same regardless of the file format used to load them: see the Raycaster example. To change an object’s appearance, see the Material docs.

1 Like