Controlling StaticSwitch in Blueprints?

I only find set scalar/vector/texture parameter nodes in blueprints,but I cannot find comething like setboolparameter in blueprint…So How can I change staticSwitchparameter material nodes in blueprints during runtime?Thanks!

StaticSwitchParameters cannot be changed after the shader has been compiled (hence the static).

For a dynamic switch you should use the If node together with a scalar parameter.

Compile two different version of that material and dynamically swap between them.