# Multiple Light On/Off for sequencer

**URL:** <https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, question\
**Created:** [July 31, 2023, 10:53am UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748 "2023-07-31T10:53:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhonpaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rhonpaul](https://forums.unrealengine.com/u/rhonpaul)\
**Post date:** [July 31, 2023, 10:53am UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/1 "2023-07-31T10:53:48Z")

</div>

I’m animating a building from day to night. How can i turn on all of the spotlight outside? It is hard to animate one by one. Is there a faster way of doing this?

---

<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:** [July 31, 2023, 11:37am UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/2 "2023-07-31T11:37:29Z")

</div>

Just put a blueprint in the level, which has the code

Event\_all\_off → GetAllActorsOfClass( spotlight ) → ForEachLoop( Off )

🙂

---

<div class="post-metadata">

**Author:** ![rhonpaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rhonpaul](https://forums.unrealengine.com/u/rhonpaul)\
**Post date:** [July 31, 2023, 11:40am UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/3 "2023-07-31T11:40:24Z")

</div>

Sorry forgot to say i’m a newbie in ue. i know a bit of blueprint. can you be more specific on how to do it? And can i animate the blueprint in the sequencer?

---

<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:** [July 31, 2023, 12:03pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/4 "2023-07-31T12:03:04Z")

</div>

You make a blueprint, which has one custom event, and drop it in the level. Then you can call that event from the sequencer

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/b/4bb62b4ccb5ac5783926e6d3f6541aba8906dd95.png)

This assumes they are all spotlights.

---

<div class="post-metadata">

**Author:** ![rhonpaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rhonpaul](https://forums.unrealengine.com/u/rhonpaul)\
**Post date:** [July 31, 2023, 12:20pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/5 "2023-07-31T12:20:57Z")

</div>

ok i have done the new blueprint. now the problem is, how to call an event in the sequencer? sorry to bother. i have search the internet and youtube on this. but found none.

---

<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:** [July 31, 2023, 12:41pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/6 "2023-07-31T12:41:33Z")

</div>

You add the blueprint to the seq

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/1/14187add8c650e3d6b439d46f3d26dfbd107577b.jpeg)

and call the event on that track

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/8/5b8b69efef3faec4903a0c9aa92cb2a1b2baabe2.jpeg)

add a key

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/d/39d824ff658c68c1da7d50afb961e42ed06b0c8c.png)

and set it to trigger the event ( right click )

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/7/d576a621d27accc985d693eeeb852528f016f316.jpeg)

PS: I discovered it also added an event to a level sequence director BP, and I had to play the sequence from the level BP at runtime.

All in all, a simple 732 step procedure. Now I remember why I don’t use the level sequencer 🙂

---

<div class="post-metadata">

**Author:** ![rhonpaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rhonpaul](https://forums.unrealengine.com/u/rhonpaul)\
**Post date:** [July 31, 2023, 1:18pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/7 "2023-07-31T13:18:47Z")

</div>

i follow your instruction but the lights are still on. ☹

---

<div class="post-metadata">

**Author:** ![rhonpaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rhonpaul](https://forums.unrealengine.com/u/rhonpaul)\
**Post date:** [July 31, 2023, 1:20pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/8 "2023-07-31T13:20:30Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/e/b6e3aab79728c38dfb1eec1c4fcdd26a42c4f750.png)  
[Trigger Level Blueprint Events from Sequencer in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/5.1/en-US/trigger-level-blueprint-events-from-sequencer-in-unreal-engine/#:~:text=Open%20your%20Level%20Sequence%2C%20then%20create%20an%20Event,and%20bind%20the%20keyframe%20to%20a%20new%20Event.)  
I found this tutorial but there is no “Add” on my class settings. i’m using ue 5.2

---

<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:** [July 31, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/9 "2023-07-31T13:22:04Z")

</div>

This is a totally different thing. I’d give up trying to do it from the sequencer, actually…

Because I have a sense, the next thing you’re going to ask is, “it would be nice if they all turned on and off slightly randomly”, which would entail changing all the spotlights for blueprints, and…

🤔

---

<div class="post-metadata">

**Author:** ![rhonpaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rhonpaul](https://forums.unrealengine.com/u/rhonpaul)\
**Post date:** [July 31, 2023, 1:30pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/10 "2023-07-31T13:30:18Z")

</div>

No i don’t have the of randoming the turning on of the lights. but if i would give up the sequencer any idea on how to do it? or can i do it on MRQ? or Take Record? Because there’s a lot of tutorial on youtube on turning on the lights but with third person. don’t know what to do. but i appreciate your time. i’m new here in the community this is my first post.

---

<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:** [July 31, 2023, 1:31pm UTC](https://forums.unrealengine.com/t/multiple-light-on-off-for-sequencer/1245748/11 "2023-07-31T13:31:11Z")

</div>

Like I say, after setting this up, the game has to be playing. I won’t work in edit mode.
