# How is it possible to remove a level from the current scene through a Python script?

**URL:** <https://forums.unrealengine.com/t/how-is-it-possible-to-remove-a-level-from-the-current-scene-through-a-python-script/1792711>\
**Category:** Programming & Scripting\
**Tags:** Python, Script, unreal-engine, unrealengine4, Scripting, question\
**Created:** [April 7, 2024, 5:24pm UTC](https://forums.unrealengine.com/t/how-is-it-possible-to-remove-a-level-from-the-current-scene-through-a-python-script/1792711 "2024-04-07T17:24:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AngeLiskoDema](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AngeLiskoDema](https://forums.unrealengine.com/u/AngeLiskoDema)\
**Post date:** [April 7, 2024, 5:24pm UTC](https://forums.unrealengine.com/t/how-is-it-possible-to-remove-a-level-from-the-current-scene-through-a-python-script/1792711/1 "2024-04-07T17:24:21Z")

</div>

Hi, I’m working on a Python script that interacts with the Unreal Editor. I know how to add a level which is like:  
unreal.EditorLevelUtils.add\_level\_to\_world(world, level\_to\_add, level\_streaming\_class)  
but I am struggling to find a way to remove a level from the current scene instead (unreal.EditorLevelUtils.remove\_level\_from\_world does not exist)  
Can anyone help, please?
