# How to spawn dynamic lights at runtime?

**URL:** <https://forums.unrealengine.com/t/how-to-spawn-dynamic-lights-at-runtime/345786>\
**Category:** Architectural and Design Visualization\
**Tags:** dynamic-lighting, unreal-engine, architecture, Lighting, question\
**Created:** [January 29, 2016, 6:26pm UTC](https://forums.unrealengine.com/t/how-to-spawn-dynamic-lights-at-runtime/345786 "2016-01-29T18:26:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_74e323db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_74e323db](https://forums.unrealengine.com/u/anonymous_user_74e323db)\
**Post date:** [January 29, 2016, 6:26pm UTC](https://forums.unrealengine.com/t/how-to-spawn-dynamic-lights-at-runtime/345786/1 "2016-01-29T18:26:30Z")

</div>

Hello. I am working on a architectural visualization project that must allow to spawn movable lights at runtime, because the scene illumination must be rigorous. It is possible?. I read in the forum that is not possible to build lights at runtime, but which is the difference between spawn and build static lights, and spawn dynamic lights directly?

When I spawn a light at runtime (I suppose the lights are static by default), the program shows a message that says “LIGHTS NEED TO BE REBUILT (n unbuilt object(s))”.

Thank you.

---

<div class="post-metadata">

**Author:** ![JaroMast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JaroMast](https://forums.unrealengine.com/u/JaroMast)\
**Post date:** [December 30, 2016, 10:46am UTC](https://forums.unrealengine.com/t/how-to-spawn-dynamic-lights-at-runtime/345786/2 "2016-12-30T10:46:29Z")

</div>

Sorry for digging it up, but I just come out on the same problem, but I just found a solution. Mayby it will help someone:

Create a blueprint and add there any light components you wish. Set their mobility on movable. After that spawn this blueprint instead of default light.
