# ActorComponent Properties not showing in blueprint

**URL:** <https://forums.unrealengine.com/t/actorcomponent-properties-not-showing-in-blueprint/390579>\
**Category:** Blueprint\
**Tags:** property, actor, unreal-engine, CPP, question, Blueprint, visible\
**Created:** [April 11, 2017, 10:39am UTC](https://forums.unrealengine.com/t/actorcomponent-properties-not-showing-in-blueprint/390579 "2017-04-11T10:39:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HppyDedPxl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HppyDedPxl](https://forums.unrealengine.com/u/HppyDedPxl)\
**Post date:** [April 11, 2017, 10:39am UTC](https://forums.unrealengine.com/t/actorcomponent-properties-not-showing-in-blueprint/390579/1 "2017-04-11T10:39:45Z")

</div>

Hello Everybody!

I’ve been digging around the internet for a solution for the past 2 hours, but I am still hitting a wall with this.

I have a class that inherits the UActorComponent, and I declare a few properties. This Component is added to an actor in it’s constructor. (Pretty much just like the MovementComponent).

However, no matter what I do, the Details Tab stays empty.

Relevant code snippets:

EntityStatus.h

```
UCLASS(config = Game, BlueprintType, HideCategories = Trigger, meta = (BlueprintSpawnableComponent))
class DA_PRIMARY_API UEntityStatus : public UActorComponent
{
	GENERATED_UCLASS_BODY()
	
public:	
	// Sets default values for this component's properties
	UEntityStatus();
	// Called every frame
	virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;

protected:
	// Called when the game starts
	virtual void BeginPlay() override;

public:	
	UPROPERTY(Category = "Test", EditAnywhere, BlueprintReadWrite)
	float MaxHP;										   		   

```

EntityStatus.cpp

```
// Sets default values for this component's properties
UEntityStatus::UEntityStatus()
{
	// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
	// off to improve performance if you don't need them.
	PrimaryComponentTick.bCanEverTick = true;

	MaxHP = 0;
	// ...
}

UEntityStatus::UEntityStatus(const FObjectInitializer& ObjectInitializer)
	: Super(ObjectInitializer)
{
	MaxHP = 0; // somebody said this needed to be initialized here too.
}

```

BaseEntity.cpp (where the component is added)

```
ABaseEntity::ABaseEntity(const FObjectInitializer& ObjectInitializer)
	: Super(ObjectInitializer)
{
	// Create basic components
	EntityStatus = ObjectInitializer.CreateDefaultSubobject<UEntityStatus>(this,TEXT("EntityStatus"));
}

```

and a screenshot of the details tab

[https://sharedat.allions.net/?7yM28agG.jpg](https://sharedat.allions.net/?7yM28agG.jpg)

Help would be really appreciated (even though I know it’s a noob question)!

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![YuriNK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yurink/32/1194511_2.png) [@YuriNK](https://forums.unrealengine.com/u/YuriNK)\
**Post date:** [April 11, 2017, 11:53am UTC](https://forums.unrealengine.com/t/actorcomponent-properties-not-showing-in-blueprint/390579/2 "2017-04-11T11:53:53Z")

</div>

Is EntityStatus exposed to blueprints?

---

<div class="post-metadata">

**Author:** ![HppyDedPxl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HppyDedPxl](https://forums.unrealengine.com/u/HppyDedPxl)\
**Post date:** [April 11, 2017, 1:44pm UTC](https://forums.unrealengine.com/t/actorcomponent-properties-not-showing-in-blueprint/390579/3 "2017-04-11T13:44:20Z")

</div>

Well that’s an embarrassing face to wall moment. It was not… Thanks a ton!

---

<div class="post-metadata">

**Author:** ![zaha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zaha/32/947496_2.png) [@zaha](https://forums.unrealengine.com/u/zaha)\
**Post date:** [April 13, 2017, 3:30pm UTC](https://forums.unrealengine.com/t/actorcomponent-properties-not-showing-in-blueprint/390579/4 "2017-04-13T15:30:53Z")

</div>

Better provide this as an answer and mark it as solution. It just helped me, too 🙂
