# Extend ATriggerBox in Plugin?

**URL:** <https://forums.unrealengine.com/t/extend-atriggerbox-in-plugin/394369>\
**Category:** Plugins\
**Tags:** unreal-engine, Plugins, UE4, question, CPP\
**Created:** [May 23, 2017, 1:06pm UTC](https://forums.unrealengine.com/t/extend-atriggerbox-in-plugin/394369 "2017-05-23T13:06:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamie453](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jamie453](https://forums.unrealengine.com/u/Jamie453)\
**Post date:** [May 23, 2017, 1:06pm UTC](https://forums.unrealengine.com/t/extend-atriggerbox-in-plugin/394369/1 "2017-05-23T13:06:29Z")

</div>

Hi all,

Im having some issues extending the ATriggerBox class in a Plugin. Im simply using the default code generated when adding a C++ class via the Unreal Editor.

![138874-test.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/5/ed5148746c6b4f3271a3a92646838085b01c8c02.png)

The errors i receive when attempting the compile come from “EngineBaseTypes.h”. It appears this is due to me including “Engine/TriggerBox.h” in this header. Is there a step i’m missing to include the Engine headersas part of a plugin?
