Matierial Instance - detect if Param2D was changed

How can I tell if Param2D was changed by the Material Instance?

Basically I want to have 1 basic material, and then depending if user provides a texture or not - disable/enable certain properties (eg. if user provided metallic map - use it, otherwise input a copy of another param, if user provided specular map - use it, otherwise input constant, etc.)

You should probably use a static switch for that, so a user has to mark a checkbox if he wants to use metalness map.

And how can I check if boolean was ticked or not? If statement works only on floats, and there is not == in material editor.

Never mind, found it - I should be using “Switch”.