# Change material on overlap?

**URL:** <https://forums.unrealengine.com/t/change-material-on-overlap/451021>\
**Category:** Rendering\
**Tags:** wall, unreal-engine, blend, UE4, Blueprint, question\
**Created:** [June 20, 2019, 7:53pm UTC](https://forums.unrealengine.com/t/change-material-on-overlap/451021 "2019-06-20T19:53:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheesyball232](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cheesyball232](https://forums.unrealengine.com/u/cheesyball232)\
**Post date:** [June 20, 2019, 7:53pm UTC](https://forums.unrealengine.com/t/change-material-on-overlap/451021/1 "2019-06-20T19:53:50Z")

</div>

Hello,

I have a static mesh wall with an ice material. My goal is to make the wall have ledges (separate static meshes) sticking out of them. However, the ledges have a separate material and I would like to blend between them. Is there a way to blend textures based on if a static mesh is overlapping them? E.g. Near the ledge, the wall material gradually gets lighter.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![danielf94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@danielf94](https://forums.unrealengine.com/u/danielf94)\
**Post date:** [June 21, 2019, 10:23pm UTC](https://forums.unrealengine.com/t/change-material-on-overlap/451021/2 "2019-06-21T22:23:36Z")

</div>

use the Begin Overlap function to detect the collision:

[link](https://docs.unrealengine.com/en-US/Engine/Blueprints/UserGuide/Events/index.html#eventactorbeginoverlap)

to change the material use Set Material

[link](https://api.unrealengine.com/INT/BlueprintAPI/Rendering/Material/SetMaterial/index.html)

---

<div class="post-metadata">

**Author:** ![cheesyball232](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cheesyball232](https://forums.unrealengine.com/u/cheesyball232)\
**Post date:** [June 22, 2019, 10:33pm UTC](https://forums.unrealengine.com/t/change-material-on-overlap/451021/3 "2019-06-22T22:33:19Z")

</div>

Thank you!
