# Create a UInterface

**URL:** <https://forums.unrealengine.com/t/create-a-uinterface/295123>\
**Category:** UI\
**Tags:** interface, unreal-engine, UInterface, UI, question\
**Created:** [October 2, 2014, 6:03pm UTC](https://forums.unrealengine.com/t/create-a-uinterface/295123 "2014-10-02T18:03:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caracole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Caracole](https://forums.unrealengine.com/u/Caracole)\
**Post date:** [October 2, 2014, 6:03pm UTC](https://forums.unrealengine.com/t/create-a-uinterface/295123/1 "2014-10-02T18:03:53Z")

</div>

Hello,

I’m wondering how to create a UInterface since it doesn’t appear in the Editor Class Wizard.  
I tried creating blank class and then adding the code to it (using [Victor’s Use System Tutorial](https://forums.unrealengine.com/showthread.php?43-Victor-s-Use-System-Tutorial)) but i obviously have no generated.h file so i can’t compile.

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [October 3, 2014, 8:43am UTC](https://forums.unrealengine.com/t/create-a-uinterface/295123/2 "2014-10-03T08:43:53Z")

</div>

#Interfaces C++ Wiki

Have you seen my interfaces tutorial?

Enjoy!

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Rama

---

<div class="post-metadata">

**Author:** ![Caracole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Caracole](https://forums.unrealengine.com/u/Caracole)\
**Post date:** [October 3, 2014, 9:15am UTC](https://forums.unrealengine.com/t/create-a-uinterface/295123/3 "2014-10-03T09:15:36Z")

</div>

Hello Rama !

I’ve seen your tutorial but i can’t get any way to add my class to my project. For any other class (extending actor, pawn or whatever), i’m using the Editor Class Wizard (from UE : file → add code to project → select the class i want to inherit from). However, in the case of creating an interface, i can’t find any parent class called UInterface or anything close to an interface.  
As i said previously, if i create a blank class i don’t have the generated.h file with all the magic linking my class to UE ^^

So my question is not how to implement it but just how to create and add it to my project since Interfaces doesn’t appear in the “Add code to project” helper.

---

<div class="post-metadata">

**Author:** ![Ehamloptiran\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ehamloptiran\_1](https://forums.unrealengine.com/u/Ehamloptiran_1)\
**Post date:** [October 3, 2014, 9:59am UTC](https://forums.unrealengine.com/t/create-a-uinterface/295123/4 "2014-10-03T09:59:16Z")

</div>

You have to create the files in explorer then add to your project in visual studio. The “Add code to project” wizard cannot do UInterface’s yet. Im guessing it will be added in the future, maybe

---

<div class="post-metadata">

**Author:** ![Zaibis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zaibis](https://forums.unrealengine.com/u/Zaibis)\
**Post date:** [December 17, 2015, 8:28pm UTC](https://forums.unrealengine.com/t/create-a-uinterface/295123/5 "2015-12-17T20:28:12Z")

</div>

Can’t get it compiled I jsut get a bunch of different compilation errors about an overall errournous syntax. I added it via add c++ with no parent class. But the tutorial doesn’t work in any way.
