How to change a mesh material using a button in VR (HTC Vive)

Yes, I tried dragging the mesh into the level and also attaching it to an actor blueprint