# \[BP\] Whats the difference between variable of class and object?

**URL:** <https://forums.unrealengine.com/t/bp-whats-the-difference-between-variable-of-class-and-object/292830>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 4, 2014, 1:29am UTC](https://forums.unrealengine.com/t/bp-whats-the-difference-between-variable-of-class-and-object/292830 "2014-09-04T01:29:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Dartanlla](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dartanlla/32/724052_2.png) [@Dartanlla](https://forums.unrealengine.com/u/Dartanlla)\
**Post date:** [September 4, 2014, 6:40pm UTC](https://forums.unrealengine.com/t/bp-whats-the-difference-between-variable-of-class-and-object/292830/5 "2014-09-04T18:40:39Z")

</div>

Here is an example of where you might use a Class variable in blueprints:

> **[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...

Notice the dark purple input pin on the Create node. That pin is expecting a class variable. Also, notice that in C++ that equates to TSubclassOf UObject. This idea of class variables is something Epic came up with for UE4 and this is not a built in system in C++.

---

_[View the full topic](https://forums.unrealengine.com/t/bp-whats-the-difference-between-variable-of-class-and-object/292830)._
