UCableComponent unrecognized type

Hi, I am working on a project right now and was attempting to do some swinging functionality with the cable component, however I ran into a roadblock right off the bat, as it wasnt recognizing “UCableComponent” as a type, code is included below. Thanks for the help.

header :

    UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = cable, meta = (AllowPrivateAccess = "true"))
    		class UCableComponent* tongue;

cpp:

 tongue = CreateDefaultSubobject<UCableComponent>(TEXT("Tongue"));

Hi there, first add #include “CableComponent.h” to your .cpp file, and then add “CableComponent” module to youre ProjectName.Build.cs file

Thanks so much, that worked.