set_material_instance_param_override
Toggle a Material Instance Constant parameter override: set true to keep the local value, or false to revert it to the parent material, updating and saving the instance.
Instructions
Toggle the per-parameter override flag on a Material Instance Constant (any of the 11 parameter types, including static switch). bOverride=true keeps/enables the local override; bOverride=false REVERTS the parameter to the parent material's value (removes the override). Runs UpdateMaterialInstance and persists. Returns honestly: success=false when the parameter is not found on the instance. Editor-only.
Returns: { material_instance_path: string, parameter_name: string, association: string, requested_override: bool, applied: bool, overridden: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| override | Yes | Bool: true = keep local override; false = revert to parent (remove the value). | |
| association | No | Optional EMaterialParameterAssociation: "Global" (default), "Layer", or "Blend". | |
| parameter_name | Yes | Name of the parameter whose override flag to toggle. | |
| material_instance_path | Yes | Content path to the UMaterialInstanceConstant. |