# How can I Set Materials in a Child Blueprint?

**URL:** <https://forums.unrealengine.com/t/how-can-i-set-materials-in-a-child-blueprint/382469>\
**Category:** Blueprint\
**Tags:** child-actors, parent-class, unreal-engine, question, Blueprint\
**Created:** [January 20, 2017, 3:27pm UTC](https://forums.unrealengine.com/t/how-can-i-set-materials-in-a-child-blueprint/382469 "2017-01-20T15:27:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VagrantProfile](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VagrantProfile](https://forums.unrealengine.com/u/VagrantProfile)\
**Post date:** [January 20, 2017, 3:27pm UTC](https://forums.unrealengine.com/t/how-can-i-set-materials-in-a-child-blueprint/382469/1 "2017-01-20T15:27:35Z")

</div>

Hi All,

So I have a function within an AI Parent Blueprint that changes the material of pawn when it is overlapped for 6 seconds…and then it changes back to it’s original material (it starts off with a basic orange material and when overlapped it changes to blue for 6 seconds before changing back to orange.)

Within a CHILD blueprint, I want this material to change from a base PINK material, then to BLUE when overlapped…and then back to PINK.

I can easily change the base color of my child BP…and BOTH change to BLUE (as intended) when overlapped…but how do I get my CHILD to change back to a PINK color instead of its parents ORANGE color after that 6 second timer is up?

It’s like I want to be able to modify the blueprint script of the parent just SLIGHTLY to get my child bp to make the appropriate material switch!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [January 20, 2017, 7:42pm UTC](https://forums.unrealengine.com/t/how-can-i-set-materials-in-a-child-blueprint/382469/2 "2017-01-20T19:42:05Z")

</div>

Hey VagrantProfile-

Can you show how you’re changing the material? Please include how the parent is changing from Orange-\>Blue-\>Orange as well as how the child is changing from Pink-\>Blue-\>Orange (should be Pink, correct?). Please include screenshots of your setup to provide a clear understanding of what you’re doing.

---

<div class="post-metadata">

**Author:** ![VagrantProfile](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VagrantProfile](https://forums.unrealengine.com/u/VagrantProfile)\
**Post date:** [January 20, 2017, 8:36pm UTC](https://forums.unrealengine.com/t/how-can-i-set-materials-in-a-child-blueprint/382469/3 "2017-01-20T20:36:10Z")

</div>

I figured out a was to resolve this! I promoted all materials I wanted to change to variables in the parent…thus allowing me to set them as desired on the child.

Much appreciate your reply though!
