# How to get the streaming level of an actor in Blutility in editor?

**URL:** <https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073>\
**Category:** Blueprint\
**Tags:** actor, Level-Streaming, Blueprint-Utilities, Blutilities, unreal-engine, editor, question\
**Created:** [July 12, 2020, 10:17pm UTC](https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073 "2020-07-12T22:17:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 12, 2020, 10:17pm UTC](https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073/1 "2020-07-12T22:17:41Z")

</div>

I want to write an editor Blutility, that takes a selection of actors (that may live in different loaded streaming levels) and creates companion objects, which should be moved to the same streaming level.

Unfortunately, I can’t figure out how to get the “Dest Streaming Level” property for the “Move Actors to Level” blueprint node, out of the actor.  
When I select the actor in the world browser, I see the property I want in the “Actor” properties rollout:

![307002-actor-streaming-level-name.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/f/8ef129d9397a1fea6db1dd069849b8bda3c07b02.png)

But this isn’t actually a property on the actor, it’s some kind of derived value.

So, given a “sibling” actor in a Blutility blueprint, how do I get the appropriate value to put into the “Dest Streaming Level” slot of the “Move Actors to Level” node, to put them on the same level?  
I have a C++ utility library, where I can add helpers if needed. For example, I can call GetLevel() on the actor through a utility, but that doesn’t actually help, as that seems to return the persistent level in all cases.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 17, 2020, 6:43am UTC](https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073/2 "2020-07-17T06:43:34Z")

</div>

… crickets …

---

<div class="post-metadata">

**Author:** ![Fae\_Corrigan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fae\_Corrigan](https://forums.unrealengine.com/u/Fae_Corrigan)\
**Post date:** [July 17, 2020, 7:19pm UTC](https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073/3 "2020-07-17T19:19:38Z")

</div>

This code will output something similar to /Game/environments/envName/Levels/envName\_v001/subLevels/LSL\_envName\_V001.LSL\_envName\_V001:PersistentLevel.SphereReflectionCapture\_1

To move actors to a level, you just want the LSL\_envName\_V001 bit.

 ![307448-path.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/a/70aea38bb22083d9a17788594a40fd6a705708e1.png)

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [July 18, 2020, 7:37am UTC](https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073/4 "2020-07-18T07:37:12Z")

</div>

Thanks! Although that gives me a string, and the Move Actors to Level node wants a Level Streming Object reference.  
I imagine I use a Get Streaming Level node with the LSL\_envName\_V001 bit as the “Package Name”?  
Also, what’s the difference between a “package” and a “map” and a “level” anyway?

---

<div class="post-metadata">

**Author:** ![Fae\_Corrigan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fae\_Corrigan](https://forums.unrealengine.com/u/Fae_Corrigan)\
**Post date:** [July 18, 2020, 3:17pm UTC](https://forums.unrealengine.com/t/how-to-get-the-streaming-level-of-an-actor-in-blutility-in-editor/468073/5 "2020-07-18T15:17:52Z")

</div>

Yep, it looks something like this:

 ![307488-path2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/9/b09bbc7c29bd4da9987013302e80d27de232b0bb.png)

An alternative in C++ is to look into UWorld::GetLevels(). It is far better in terms of efficiency. I just saw that you were working with C++ as well. I am trying to do something similar right now, but need to add and remove sublevels from a world in editor mode. That is twisting the mind a bit
