# Set Material Slot Names in Blueprint

**URL:** <https://forums.unrealengine.com/t/set-material-slot-names-in-blueprint/641936>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Widget, question, Blueprint\
**Created:** [September 5, 2022, 2:10pm UTC](https://forums.unrealengine.com/t/set-material-slot-names-in-blueprint/641936 "2022-09-05T14:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [September 6, 2022, 3:27am UTC](https://forums.unrealengine.com/t/set-material-slot-names-in-blueprint/641936/2 "2022-09-06T03:27:06Z")

</div>

Hey there @Yoosten! Would you be attempting to replace these names at runtime? As I don’t believe that variable is exposed to be changed at runtime at all. I’ve seen a couple of users that created editor blueprints to be able to modify them. I’ll leave a thread with a bit of information on that at least. Hope this helps!

> [@Setting Material Slot Names on Static Mesh Materials not updating Editor UI](https://forums.unrealengine.com/t/setting-material-slot-names-on-static-mesh-materials-not-updating-editor-ui/559681):
>
> I’m trying to rename the material slots on the selected static meshes in the content browser. If I run the script below it works if I get the editor property and print it to log after settings it, but it doesn’t update the “Slot Name” field in the editor for the material on the selected static meshes. The documentation says that using “set\_editor\_property” will force the editor UI update but it’s not in this case. Any idea’s what I’m doing wrong? selectedAssetsPaths = unreal.EditorUtilityLi…

---

_[View the full topic](https://forums.unrealengine.com/t/set-material-slot-names-in-blueprint/641936)._
