How to change wall color when click button

we want change wall or room color how can change please let me know any script

how can change this
we want like this given below link project

how can using this script please let me know

send the tutorials

A Jaya Prakash

Hi @Jaya_Prakash and welcome,

What you need to do is change the material or a material property on your wall model.

A common way to do that is to loop through the mesh instances of your wall model and update the material.

Here is an example that does something similar (it’s mainly for XR but the color changing logic is the same), study the cube.js script:

1 Like