# Prevent Subtype to be used as default

**URL:** <https://forums.unrealengine.com/t/prevent-subtype-to-be-used-as-default/433554>\
**Category:** Blueprint\
**Tags:** Struct, tsubclassof, unreal-engine, UE4, Blueprint, CPP, question\
**Created:** [September 11, 2018, 1:56am UTC](https://forums.unrealengine.com/t/prevent-subtype-to-be-used-as-default/433554 "2018-09-11T01:56:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChiefOfMischief](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChiefOfMischief](https://forums.unrealengine.com/u/ChiefOfMischief)\
**Post date:** [September 11, 2018, 1:56am UTC](https://forums.unrealengine.com/t/prevent-subtype-to-be-used-as-default/433554/1 "2018-09-11T01:56:58Z")

</div>

So I can see why this would be not possible but is there a way I can set a class to not show up as a type of subclass in BP defaults?  
For instance I have class 1,2,3 as a subclass of type A.  
I have a variable that can be of type A.  
I want the sub classes to show up as an option for defaults but not the parent class.

In my example I have three types of physical damages: blunt, piercing and cleaving. I also have a data table with a struct that has a variable of the physical subtype: TSubclassOf

However I don’t want physical damage to show up on the list. Is that possible and how?  
I understand there might be better ways to fulfill my objective, but regardless I would still like to know if its possible

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [November 30, 2018, 7:47pm UTC](https://forums.unrealengine.com/t/prevent-subtype-to-be-used-as-default/433554/2 "2018-11-30T19:47:59Z")

</div>

Sorry I dont know the answer to your question but I encourage You to consider using GameplayTags.  
Unreal documentation explains how to set them up and how they work, and Mathew Wadstein has a tutorial video on the subject. I think they provide a structure and procedures that will accomplish what you want.
