# Access None class inside Unreal

**URL:** <https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261>\
**Category:** Blueprint\
**Tags:** unreal-engine, Scripting, UE4, CPP, question, Blueprint\
**Created:** [July 7, 2016, 6:50pm UTC](https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261 "2016-07-07T18:50:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_285c30d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_285c30d4](https://forums.unrealengine.com/u/anonymous_user_285c30d4)\
**Post date:** [July 7, 2016, 6:50pm UTC](https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261/1 "2016-07-07T18:50:35Z")

</div>

Hello, sorry if the question seems obvious, but I couldn’t find it anywhere.  
If I define a class either without inheritance, or inherited from one of the many classes which don’t appear in the “New c++ class” creation inside Unreal,  
how can I access if from inside the engine? it’s detecting it for sure because it compiles it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_67d829db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_67d829db](https://forums.unrealengine.com/u/anonymous_user_67d829db)\
**Post date:** [July 7, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261/2 "2016-07-07T19:12:46Z")

</div>

I’m guessing you mean you want to access it within the Blueprint Editor. See the page on [Class Declaration](https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/index.html#classdeclaration), and below are some specific tips:

1. You should be inheriting, from `UObject` if nothing else, and use the `UCLASS([specifier, specifier, ...])` macro on the line above your class declaration.
2. If you want to declare variables in Blueprint to hold your object, use the `BlueprintType` specifier.
3. If you want to subclass your class in Blueprint, use the `Blueprintable` specifier.
4. Make sure to use [`UPROPERTY` specifiers](https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Properties/index.html) on your object’s fields and [`UFUNCTION` specifiers](https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Functions/index.html) on any methods that you want to call from Blueprint.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_285c30d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_285c30d4](https://forums.unrealengine.com/u/anonymous_user_285c30d4)\
**Post date:** [July 8, 2016, 8:38am UTC](https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261/3 "2016-07-08T08:38:59Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_285c30d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_285c30d4](https://forums.unrealengine.com/u/anonymous_user_285c30d4)\
**Post date:** [July 8, 2016, 8:43am UTC](https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261/4 "2016-07-08T08:43:34Z")

</div>

You should be able to UCLASS() every kind of class (U, A, T, F) right?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_67d829db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_67d829db](https://forums.unrealengine.com/u/anonymous_user_67d829db)\
**Post date:** [July 8, 2016, 3:21pm UTC](https://forums.unrealengine.com/t/access-none-class-inside-unreal/363261/5 "2016-07-08T15:21:57Z")

</div>

It can be used on any type of class. The name prefix makes no difference.
