# Trying to create a new C++ class for a plugin that doesnt appear in the target module.

**URL:** <https://forums.unrealengine.com/t/trying-to-create-a-new-c-class-for-a-plugin-that-doesnt-appear-in-the-target-module/827433>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [March 27, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/trying-to-create-a-new-c-class-for-a-plugin-that-doesnt-appear-in-the-target-module/827433 "2023-03-27T13:14:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Data\_Vision](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/data_vision/32/1118730_2.png) [@Data\_Vision](https://forums.unrealengine.com/u/Data_Vision)\
**Post date:** [March 27, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/trying-to-create-a-new-c-class-for-a-plugin-that-doesnt-appear-in-the-target-module/827433/1 "2023-03-27T13:14:22Z")

</div>

Hi there,

Total c++ noob here :

I want to create a new class for a plugin alongside others, that inherits from a base supplied by the plugin. In editor, i can right click to add a new class and select the parent class as expected.

But i can only choose the “myproject (runtime)” target module. As i understand it, it adds the class to the project file itself, wich is not what i want. I want my class to live alongside the already existing classes, in /plugins/myplugin so that it can be shared.

What am i missing ?

Thanks
