# Edit particle material from blueprint

**URL:** <https://forums.unrealengine.com/t/edit-particle-material-from-blueprint/124435>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 3, 2019, 2:35pm UTC](https://forums.unrealengine.com/t/edit-particle-material-from-blueprint/124435 "2019-04-03T14:35:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davestation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davestation](https://forums.unrealengine.com/u/Davestation)\
**Post date:** [April 3, 2019, 2:35pm UTC](https://forums.unrealengine.com/t/edit-particle-material-from-blueprint/124435/1 "2019-04-03T14:35:33Z")

</div>

Hi guys,

I have what I thought would be a simple problem but it’s driving me nuts.

I have a particle system component inside a blueprint.  
The particle system has a material applied and that material has 2 parameters in it controlling start and end colours colors.  
I’m using the particles color over life module to drive a lerp nodes alpha to go between the 2 colours.  
I can not for the life of me seem to access the particle systems material in order to set those 2 colours from the blueprint.

Any ideas on how to do this would be so appreciated.

Thanks

D

---

<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:** [April 4, 2019, 12:20pm UTC](https://forums.unrealengine.com/t/edit-particle-material-from-blueprint/124435/2 "2019-04-04T12:20:17Z")

</div>

@Davestation Presumably the PS is a child? Then you need

PS → Getchildactor ( I think it’s called ) → Cast to \< your particle system \> → as that PS → setMaterialScalarParameters…

---

<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:** [April 4, 2019, 12:29pm UTC](https://forums.unrealengine.com/t/edit-particle-material-from-blueprint/124435/3 "2019-04-04T12:29:20Z")

</div>

Sorry, just realized it’s probably not a child… 😕 casting might have something to do with the answer tho…
