# Cannot create Blueprint class based on C++ UActorComponent

**URL:** <https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545>\
**Category:** Blueprint\
**Tags:** actor-component, unreal-engine, UE4, Blueprint, question, CPP\
**Created:** [August 13, 2015, 1:30pm UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545 "2015-08-13T13:30:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_55d41bed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_55d41bed](https://forums.unrealengine.com/u/anonymous_user_55d41bed)\
**Post date:** [August 13, 2015, 1:30pm UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545/1 "2015-08-13T13:30:27Z")

</div>

I have a custom UActorComponent written in C++ and wanted to extend that in the BP editor, but when I tried to create a Blueprint class based on my C++ class I couldn’t find it in the class list. And, going through the C++ object in the editor I noticed that “Create Blueprint class” is disabled:

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/7/157b9f60f5e4007078c35e9fd94c25c13b087d2f.png)  
I’ve compared the code to other classes which I can create Blueprint classes for, and not much is different other than the class their parent class. Is there something I could be doing wrong? Here is the header file for this class:

```
UCLASS()
class RH_API URHTriggerComponent : public USceneComponent
{
	GENERATED_BODY()

public:	
	class USphereComponent* Collider;

	// Sets default values for this component's properties
	URHTriggerComponent();

	// Called when the game starts
	virtual void BeginPlay() override;
	
	// Called every frame
	virtual void TickComponent( float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction ) override;

	virtual void Use(APawn* User);

	UFUNCTION(BlueprintImplementableEvent)
	virtual void OnUse(APawn* User);
};

```

Thanks!

---

<div class="post-metadata">

**Author:** ![kurtrussellfanclub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kurtrussellfanclub](https://forums.unrealengine.com/u/kurtrussellfanclub)\
**Post date:** [August 14, 2015, 2:38am UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545/2 "2015-08-14T02:38:08Z")

</div>

Declare with UCLASS(Blueprintable) instead of UCLASS()

---

<div class="post-metadata">

**Author:** ![Elewyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elewyth](https://forums.unrealengine.com/u/Elewyth)\
**Post date:** [August 14, 2015, 9:43am UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545/3 "2015-08-14T09:43:28Z")

</div>

Here’s the corresponding piece of documentation:  
[https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/Specifiers/Blueprintable/index.html](https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/Specifiers/Blueprintable/index.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_55d41bed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_55d41bed](https://forums.unrealengine.com/u/anonymous_user_55d41bed)\
**Post date:** [August 14, 2015, 1:45pm UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545/4 "2015-08-14T13:45:02Z")

</div>

Oh, interesting. So is the reason I don’t have to do this with some classes because the parent (in most of these cases AActor) is already defined to be Blueprintable?

---

<div class="post-metadata">

**Author:** ![kurtrussellfanclub](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kurtrussellfanclub](https://forums.unrealengine.com/u/kurtrussellfanclub)\
**Post date:** [August 15, 2015, 12:10pm UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545/5 "2015-08-15T12:10:30Z")

</div>

Yep, that’s why! Blueprintable is an inherited property

---

<div class="post-metadata">

**Author:** ![AtomicTeam1993](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AtomicTeam1993](https://forums.unrealengine.com/u/AtomicTeam1993)\
**Post date:** [September 8, 2023, 4:43pm UTC](https://forums.unrealengine.com/t/cannot-create-blueprint-class-based-on-c-uactorcomponent/328545/6 "2023-09-08T16:43:05Z")

</div>

> [@kurtrussellfanclub](#):
>
> Blueprintable

Thanks!
