# How can I hide the c++ compile button in Unreal Engine 4.22 #NOTE Disabling "Enable live code" wont do anything

**URL:** <https://forums.unrealengine.com/t/how-can-i-hide-the-c-compile-button-in-unreal-engine-4-22-note-disabling-enable-live-code-wont-do-anything/2677881>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, editor, CPP, question\
**Created:** [November 23, 2025, 8:20pm UTC](https://forums.unrealengine.com/t/how-can-i-hide-the-c-compile-button-in-unreal-engine-4-22-note-disabling-enable-live-code-wont-do-anything/2677881 "2025-11-23T20:20:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OgDontStop](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ogdontstop/32/726826_2.png) [@OgDontStop](https://forums.unrealengine.com/u/OgDontStop)\
**Post date:** [November 23, 2025, 8:20pm UTC](https://forums.unrealengine.com/t/how-can-i-hide-the-c-compile-button-in-unreal-engine-4-22-note-disabling-enable-live-code-wont-do-anything/2677881/1 "2025-11-23T20:20:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [November 24, 2025, 3:06pm UTC](https://forums.unrealengine.com/t/how-can-i-hide-the-c-compile-button-in-unreal-engine-4-22-note-disabling-enable-live-code-wont-do-anything/2677881/2 "2025-11-24T15:06:06Z")

</div>

Hello @OgDontStop ,Welcome Back to the forums!

You can use an Editor Utility Blueprint to customize the toolbar or you can use plugin and C++ as mentioned in this post

> [@How can you make a working toolbar? btw i use version 4.22.3](https://forums.unrealengine.com/t/how-can-you-make-a-working-toolbar-btw-i-use-version-4-22-3/128524/3):
>
> Hello, I would start looking here if you want to make something using UMG and blueprints [Editor Utility Widgets in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/en-US/Engine/UMG/UserGuide/EditorUtilityWidgets/index.html) and [Creating Editor Utility Widgets | Inside Unreal - YouTube](https://www.youtube.com/watch?v=s_rt49atj0Y) here if you want to make something using plugin and C++ [C++ Extending the Editor | Live Training | Unreal Engine - YouTube](https://www.youtube.com/watch?v=zg_VstBxDi8)

I also found a post that mentions a possible solution for modifying the toolbar.

> [@Customizing the editor's toolbar buttons menu via custom plugin](https://forums.unrealengine.com/t/customizing-the-editors-toolbar-buttons-menu-via-custom-plugin/279803):
>
> Greetings, I want to do a simple experiment for my learning purposes. I want to extend the editor, by adding a new button in the toolbar menu (next to say QuickSettings), and when clicked it just displays a message box. However, this customization should be done via a plugin. I managed to create a “blank” plugin, and working fine. Now I just want to make it extend the editor a bit, by creating a button and its implementation (displaying a message) residing in my plugin. I’ve done some research…

Lastly, here’s a workaround I found — and it works as long as your project doesn’t have any active C++ classes.  
Here are the steps:

1. Close the project.

2. Go to the folder where your project is located.

3. Delete the **Source** folder and the **.sln** file, since they contain all the C++ content.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/3/213d14a61fb163eaa8d9b91bc0a465ca12ac8d27.png)

4. Open your **.uproject** file with Notepad.

5. Remove the entire section that says **“Modules”** , including the word _Modules_.

I’m also leaving an example of how it looks in a test project I created.  
With C++

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/7/fa743a069cc016b1f7350d1f17bb37c94bf028a1.png)  
Without C++  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/7/7f74d3ba03087beb1fe049be0b3339f9f1c00591.png)

With that, the **Compile** button should disappear.  
Just to clarify again: this only works if your project truly doesn’t use any C++ code.

Hope it helps!
