# Class Wizard generated code

**URL:** <https://forums.unrealengine.com/t/class-wizard-generated-code/96495>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [July 15, 2017, 5:09pm UTC](https://forums.unrealengine.com/t/class-wizard-generated-code/96495 "2017-07-15T17:09:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wrekk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wrekk](https://forums.unrealengine.com/u/Wrekk)\
**Post date:** [July 15, 2017, 5:09pm UTC](https://forums.unrealengine.com/t/class-wizard-generated-code/96495/1 "2017-07-15T17:09:51Z")

</div>

Hello everyone.

I want to change what gets generated when I add code with the Class Wizard tool.  
Does anyone have any idea how to do this? I tried looking at the source files, but I couldn’t seem to find anything regarding what gets generated.

---

<div class="post-metadata">

**Author:** ![Vertex\_Soup](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vertex\_Soup](https://forums.unrealengine.com/u/Vertex_Soup)\
**Post date:** [July 16, 2017, 12:44am UTC](https://forums.unrealengine.com/t/class-wizard-generated-code/96495/2 "2017-07-16T00:44:39Z")

</div>

I would try luck with WidgetInspector Tool first and trace files upstream.

---

<div class="post-metadata">

**Author:** ![ExtraLifeMatt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/extralifematt/32/918695_2.png) [@ExtraLifeMatt](https://forums.unrealengine.com/u/ExtraLifeMatt)\
**Post date:** [July 16, 2017, 5:26am UTC](https://forums.unrealengine.com/t/class-wizard-generated-code/96495/3 "2017-07-16T05:26:54Z")

</div>

The templates are in Content/Editor/Templates

---

<div class="post-metadata">

**Author:** ![Wrekk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wrekk](https://forums.unrealengine.com/u/Wrekk)\
**Post date:** [July 16, 2017, 9:04am UTC](https://forums.unrealengine.com/t/class-wizard-generated-code/96495/4 "2017-07-16T09:04:12Z")

</div>

> [@ExtraLifeMatt;737322](#):
>
> The templates are in Content/Editor/Templates

Great! Thanks, I really appreciate it. 🙂

EDIT: I hate to keep asking questions, but do you know how I can use it for all classes deriving from specific class? 🙂

---

<div class="post-metadata">

**Author:** ![ExtraLifeMatt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/extralifematt/32/918695_2.png) [@ExtraLifeMatt](https://forums.unrealengine.com/u/ExtraLifeMatt)\
**Post date:** [July 16, 2017, 5:27pm UTC](https://forums.unrealengine.com/t/class-wizard-generated-code/96495/5 "2017-07-16T17:27:28Z")

</div>

> [@Wrekk;737362](#):
>
> Great! Thanks, I really appreciate it. 🙂
> 
> EDIT: I hate to keep asking questions, but do you know how I can use it for all classes deriving from specific class? 🙂

That you’re on your own with. It would likely require changes to the Unreal Header Tool or whatever is deciding what template to use where.
