How can i change a material of one mesh by touching another mesh in VR mode?

I am extremely new to coding and the blueprint system, And i am trying to make a VR project. I just can’t figure out how to change a material of a mesh by touching another mesh.

I dont really know why this is not right, because it seems like it, but i am pretty new to this.

never mind, just realized that there was no material selected

You will have better performance with Material Instances.

Learn about them here: Instanced Materials | Unreal Engine Documentation

Use “Create Dynamic Material Instance” and change parameters at runtime. Here is an easy example:


Good luck!