How to set material bool parameter via blueprint?

You need to create a dynamic material instance for the mesh and element… promote the return value to a variable.

Once you have the DMI reference you can set the parameters.