Create buttons to change mesh materials

I want to create a scene similar to the one in the link below. Where I also want to change the material of the objects in the scene.
I would just like a very simple code for this to happen.
Note: I don’t know anything about js.

1 Like

Hi @DaniloBam and welcome,

Check this simple example on how to change materials on an object using code:

For buttons start here: