# How do I use the UEditorLevelLibrary in Visual Studio?

**URL:** <https://forums.unrealengine.com/t/how-do-i-use-the-ueditorlevellibrary-in-visual-studio/453741>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [August 12, 2019, 8:10am UTC](https://forums.unrealengine.com/t/how-do-i-use-the-ueditorlevellibrary-in-visual-studio/453741 "2019-08-12T08:10:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd9e85db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd9e85db](https://forums.unrealengine.com/u/anonymous_user_fd9e85db)\
**Post date:** [August 12, 2019, 8:10am UTC](https://forums.unrealengine.com/t/how-do-i-use-the-ueditorlevellibrary-in-visual-studio/453741/1 "2019-08-12T08:10:54Z")

</div>

Hi Everyone,  
I am a real noob in programming cpp in UE4, so maybe my question is pretty easy to answer. 🙂  
I installed the Plugin “EditorScriptingUtilities” and I want to use one of the given functions in my Visual Studio File. I am not sure, why it doesnt find the Class UEditorLevelLibrary…  
I would be very thankful for a quick answer,  
Regardsalt text

 ![284829-header.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/4/cd4d981148717bc2e123dd403218834998b56c70.png)

---

<div class="post-metadata">

**Author:** ![MCX292](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MCX292](https://forums.unrealengine.com/u/MCX292)\
**Post date:** [August 13, 2019, 1:18am UTC](https://forums.unrealengine.com/t/how-do-i-use-the-ueditorlevellibrary-in-visual-studio/453741/2 "2019-08-13T01:18:23Z")

</div>

Though UEditorLevelLibrary is derived from UBlueprintFunctionLibrary, it is not declared in BlueprintFunctionLibrary.h

UEditorLevelLibrary is in a separate module.

Try this include:

```
#include <../Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h>
```

---

<div class="post-metadata">

**Author:** ![MCX292](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MCX292](https://forums.unrealengine.com/u/MCX292)\
**Post date:** [August 13, 2019, 1:29am UTC](https://forums.unrealengine.com/t/how-do-i-use-the-ueditorlevellibrary-in-visual-studio/453741/3 "2019-08-13T01:29:08Z")

</div>

I guess I should add the answer to the question “how did you figure this out?”

1. I downloaded the UE4 source code following these instructions ([Downloading Unreal Engine Source Code | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/GettingStarted/DownloadingUnrealEngine/index.html))

2. I use the Visual Assist plugin for Visual Studio ([https://www.wholetomato.com/](https://www.wholetomato.com/))

3. It has a feature that lets me type the line of code you were having trouble with in a C++ project file and then with a context drop-down select “Add Include” which produced the line of code I’ve provided above. It’s a very handy feature and if you code in C++ with UE4 a lot, that alone is worth the US$99 personal licence cost!

(I have no affiliation with the makers of Visual Assist)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd9e85db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd9e85db](https://forums.unrealengine.com/u/anonymous_user_fd9e85db)\
**Post date:** [August 13, 2019, 1:32pm UTC](https://forums.unrealengine.com/t/how-do-i-use-the-ueditorlevellibrary-in-visual-studio/453741/4 "2019-08-13T13:32:56Z")

</div>

Thanks Mate. I included your path and I also included the plugin name in the Build File of my project. I simply followed this article:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
