# How to make c++ Actor (inherited from AGeneratedDynamicMeshActor) an "Editor Only"?

**URL:** <https://forums.unrealengine.com/t/how-to-make-c-actor-inherited-from-agenerateddynamicmeshactor-an-editor-only/563354>\
**Category:** C++\
**Tags:** Blueprint-Utilities, unreal-engine, UE5-0, question, Blueprint\
**Created:** [May 22, 2022, 11:18am UTC](https://forums.unrealengine.com/t/how-to-make-c-actor-inherited-from-agenerateddynamicmeshactor-an-editor-only/563354 "2022-05-22T11:18:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YanDaik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YanDaik](https://forums.unrealengine.com/u/YanDaik)\
**Post date:** [May 22, 2022, 11:18am UTC](https://forums.unrealengine.com/t/how-to-make-c-actor-inherited-from-agenerateddynamicmeshactor-an-editor-only/563354/1 "2022-05-22T11:18:42Z")

</div>

Picture will explain better.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/f/ddff9108fc82e4992e3dfae3ce3755ac6d94797f.jpeg)

I’m trying to make a child class based on AGeneratedDynamicMeshActor (which is somehow marked as editor only).  
But with no luck. Editor thinks that child class is not Editor-Only and therefore i cannot use editor functions within it.

---

<div class="post-metadata">

**Author:** ![DotBow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DotBow](https://forums.unrealengine.com/u/DotBow)\
**Post date:** [October 14, 2022, 4:30pm UTC](https://forums.unrealengine.com/t/how-to-make-c-actor-inherited-from-agenerateddynamicmeshactor-an-editor-only/563354/2 "2022-10-14T16:30:20Z")

</div>

Hi!

You need to make your module Editor:|

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/f/b0f1ccc208d9b2260d812480192e95d00083473f.png)
