# How to run the merge actors tool in C++?

**URL:** <https://forums.unrealengine.com/t/how-to-run-the-merge-actors-tool-in-c/456326>\
**Category:** Pipeline & Plugins\
**Tags:** merge-actors, unreal-engine, editor, CPP, question\
**Created:** [October 2, 2019, 4:22pm UTC](https://forums.unrealengine.com/t/how-to-run-the-merge-actors-tool-in-c/456326 "2019-10-02T16:22:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeebs95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeebs95](https://forums.unrealengine.com/u/Jeebs95)\
**Post date:** [October 2, 2019, 4:22pm UTC](https://forums.unrealengine.com/t/how-to-run-the-merge-actors-tool-in-c/456326/1 "2019-10-02T16:22:05Z")

</div>

Hello,

I have an instanced static mesh blueprint that uses multiple instanced static mesh components to make an object. I can use the editor Merge Actors tool by right clicking and it does exactly what I need. The question I am getting stuck at is how to run that in C++, I have looked at the Merge Actors Module and also Mesh Utilities::Merge Static Mesh Components and Merge Actors. I am stumped as to how to run the Module in C++ or if it is one of the others I am supposed to use. I want to be able to do this in the editor using the new Editor Scripting, not at Runtime. Any help would be great!

---

<div class="post-metadata">

**Author:** ![Jeebs95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeebs95](https://forums.unrealengine.com/u/Jeebs95)\
**Post date:** [October 2, 2019, 7:31pm UTC](https://forums.unrealengine.com/t/how-to-run-the-merge-actors-tool-in-c/456326/2 "2019-10-02T19:31:54Z")

</div>

So after looking for a while longer I found this video which does what I want. He has also nicely attached his github project for reference.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/f/3af710c23da86448651dcac085b262b8a4d0fd7f.jpeg "[UE4]Merge StaticMesh And SkeletalMesh") ](https://www.youtube.com/watch?v=qaXoXgrk0fw)

---

<div class="post-metadata">

**Author:** ![NamInUz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NamInUz](https://forums.unrealengine.com/u/NamInUz)\
**Post date:** [August 29, 2024, 8:59am UTC](https://forums.unrealengine.com/t/how-to-run-the-merge-actors-tool-in-c/456326/3 "2024-08-29T08:59:38Z")

</div>

Is there anyone that has a similar code for unreal 5?
