# Hide Class from TSubclassOf\<\>

**URL:** <https://forums.unrealengine.com/t/hide-class-from-tsubclassof/372517>\
**Category:** C++\
**Tags:** tsubclassof, unreal-engine, CPP, question\
**Created:** [October 5, 2016, 2:42pm UTC](https://forums.unrealengine.com/t/hide-class-from-tsubclassof/372517 "2016-10-05T14:42:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnexpectedSquirt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnexpectedSquirt](https://forums.unrealengine.com/u/UnexpectedSquirt)\
**Post date:** [October 5, 2016, 2:42pm UTC](https://forums.unrealengine.com/t/hide-class-from-tsubclassof/372517/1 "2016-10-05T14:42:18Z")

</div>

Simple enough question. Outside of making a class abstract, is there any way to hide it in the TSubclassOf\<\> UPROPERTY drop downs in the editor? i.e I have a subclass of UCapsuleComponent that I’m using outside of the editor, and I don’t want it to appear as a choice for actors which get to choose a Primitive Component class from a drop down.

---

<div class="post-metadata">

**Author:** ![UnexpectedSquirt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnexpectedSquirt](https://forums.unrealengine.com/u/UnexpectedSquirt)\
**Post date:** [January 13, 2017, 8:49pm UTC](https://forums.unrealengine.com/t/hide-class-from-tsubclassof/372517/2 "2017-01-13T20:49:40Z")

</div>

As of 4.14 it looks like you can mark blueprint classes abstract, which also hides them from class dropdowns!

---

<div class="post-metadata">

**Author:** ![DarioGangi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dariogangi/32/1215012_2.png) [@DarioGangi](https://forums.unrealengine.com/u/DarioGangi)\
**Post date:** [July 13, 2020, 8:08pm UTC](https://forums.unrealengine.com/t/hide-class-from-tsubclassof/372517/3 "2020-07-13T20:08:08Z")

</div>

You can use HideDropdown as class specifier.

I.E:.

```
UCLASS(HideDropdown)
class UGameButton : public UUserWidget
{
	GENERATED_BODY()

public:

protected:

private:

};
```
