# How to make a blueprint light's colour a public variable?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-blueprint-lights-colour-a-public-variable/311887>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 20, 2015, 5:02pm UTC](https://forums.unrealengine.com/t/how-to-make-a-blueprint-lights-colour-a-public-variable/311887 "2015-03-20T17:02:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_66eae2bc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_66eae2bc](https://forums.unrealengine.com/u/anonymous_user_66eae2bc)\
**Post date:** [March 20, 2015, 5:02pm UTC](https://forums.unrealengine.com/t/how-to-make-a-blueprint-lights-colour-a-public-variable/311887/1 "2015-03-20T17:02:20Z")

</div>

Hi,  
I have a blueprint that contains a Light Bulb model and a light. Is there anyway I can make it so I can edit the light’s colour from the main editor so that it is specific tot hat light and doesn’t alter the blueprint?

Hope that makes sense, thanks.

---

<div class="post-metadata">

**Author:** ![Erasio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erasio](https://forums.unrealengine.com/u/Erasio)\
**Post date:** [March 20, 2015, 5:17pm UTC](https://forums.unrealengine.com/t/how-to-make-a-blueprint-lights-colour-a-public-variable/311887/2 "2015-03-20T17:17:30Z")

</div>

Well you can create a function to do this.

It’s not exactly a variable but in terms of usability from another blueprint else it’s exactly the same.

Just take as input your color, intensity, attention radius and whatever you want to change and apply that.

Cheers 🙂
