# How can I select materials of an object directly in the viewport?

**URL:** <https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656>\
**Category:** Rendering\
**Tags:** viewport, unreal-engine, selection, question\
**Created:** [August 31, 2019, 7:51am UTC](https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656 "2019-08-31T07:51:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxwell\_77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxwell\_77](https://forums.unrealengine.com/u/Maxwell_77)\
**Post date:** [August 31, 2019, 7:51am UTC](https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656/1 "2019-08-31T07:51:12Z")

</div>

Hi,  
is there any possibility to select a material of an object directly in the viewport? At the moment it is really a pain to figure out which material lays of an object when this object has many materials.

At the moment I am using always a marker material. I drag at at this object, then I take a look in which material slot it lays → UNDO and selcect the original material. This cannot be the only solution to figure out the material slot…  
I hope there is a shortcut or something else to do this…

Best regards, Andreas

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 31, 2019, 11:07am UTC](https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656/2 "2019-08-31T11:07:05Z")

</div>

Closest thing to that would be the mesh editor, when you have it open, you can see and highlight all the materials:

 ![286234-mesh.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/8/8e8753f641e9e918f52d032e67023ef80ce5ce95.jpeg)

Otherwise you just have to select it in the main editor viewport and then scroll down the details panel to find out what’s going on…

---

<div class="post-metadata">

**Author:** ![dpotuznik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dpotuznik](https://forums.unrealengine.com/u/dpotuznik)\
**Post date:** [August 24, 2022, 12:56pm UTC](https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656/3 "2022-08-24T12:56:08Z")

</div>

Hi,

i have the same question , i have 58 material slot , and it take me forever to find the right one , can we select directly in the viewport ?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/8/848f669cdb8dfa0e3633f5106e855db4490a7a3b.jpeg)

thank’s for your help  
Best regards  
Daniel

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [February 18, 2024, 8:07pm UTC](https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656/4 "2024-02-18T20:07:52Z")

</div>

I’m revising this.

Any ideas?

For me, I’m merging meshes, so the material counts are above 100 at times.

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [February 28, 2024, 9:42am UTC](https://forums.unrealengine.com/t/how-can-i-select-materials-of-an-object-directly-in-the-viewport/454656/5 "2024-02-28T09:42:48Z")

</div>

This may not be the most helpful, but you could create a tool that shoots a trace towards the surface on mouse click, it then returns the material / path based on where you clicked. It should be doable without C++ using the Unreal Engine Editor Utility tools.
