# Custom event from sublevel into main level

**URL:** <https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107>\
**Category:** World Creation\
**Tags:** custom-event, sub-level, unreal-engine, level-blueprint, question\
**Created:** [October 22, 2021, 7:58am UTC](https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107 "2021-10-22T07:58:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pandatuta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pandatuta](https://forums.unrealengine.com/u/Pandatuta)\
**Post date:** [October 22, 2021, 7:58am UTC](https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107/1 "2021-10-22T07:58:29Z")

</div>

Hello!!  
I have 2 levels. Level\_A with is main level and Level\_B with is sub-level. In Level\_A i’m imported Level\_B with levels tools and change streaming method on always loaded. In level blueprints Level\_B has custom event “cs\_level\_b”. How i can get this custom event in level blueprints in my main level, Level\_A?  
Thank you!

 ![350795-untitled-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/e/d9e2c202af092e89e878fcf53f83fd08ed14f0ab.png)

---

<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:** [October 22, 2021, 8:53am UTC](https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107/2 "2021-10-22T08:53:39Z")

</div>

You can do it with a lot of messing about, but it’s much easier to just put blueprint actors in the levels, they can just talk to each other.

Or, you can use the game instance. This is available everywhere. Put the custom event in the game instance instead of the level BP.

---

<div class="post-metadata">

**Author:** ![Lancemao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lancemao](https://forums.unrealengine.com/u/Lancemao)\
**Post date:** [June 14, 2023, 9:44am UTC](https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107/3 "2023-06-14T09:44:31Z")

</div>

> they can just talk to each other.

How? Say I have a sub level and I put an actor BP\_Door in it, how can I trigger its event from main level? Seems that I cannot get a reference of BP\_Door in main level, any idea?

---

<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:** [June 14, 2023, 9:52am UTC](https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107/4 "2023-06-14T09:52:54Z")

</div>

You have to do it at runtime. So you can’t just use the eyedropper tool to select it before when you make the map, for instance.

When you have both levels loaded, it’s exactly like a single level ( at runtime ). So you can get a reference to the door using a linetrace, or with an overlap volume etc.

---

<div class="post-metadata">

**Author:** ![Lancemao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lancemao](https://forums.unrealengine.com/u/Lancemao)\
**Post date:** [June 14, 2023, 11:19am UTC](https://forums.unrealengine.com/t/custom-event-from-sublevel-into-main-level/490107/5 "2023-06-14T11:19:10Z")

</div>

Thanks got it work

Specifically, in your main level, you can call ‘Get Actor of xxx’ to get a reference of the actor at runtime and call its function or trigger events
