Pause Menu Material select

Hello, I try to make a pause menu where you select the material of a mesh.
So when I click on the material in my menu the mesh in game needs to change the material to the selected one.
But I don’t know how to make a menu like that.
So the menu also needs a list with materials.

You could create such a menu like in this video: and instead of e.g opening a map you could just activate a “set material” node so that it changes the material / or you do it with a material instance constant and parameters in your material (