StaticMeshComponents has no details in blueprint class

I had to make the component a UPROPERTY with VisibleAnywhere and BlueprintReadWrite:

UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
UStaticMeshComponent* HealthSMC;