CapsuleComponent->OnBeginCursorOver.AddUniqueDynamic not running

CapsuleComponent->OnBeginCursorOver.AddUniqueDynamic is not running when i roll the mouse over the actor.

Is there anything obvious i’m doing wrong???

My widget that was added to my viewport was collapsed, and yet it was eating up my click events! I can only seem to stop click events and mouse overs from registering with the widget, by removing from the viewport!?

Thank you for the help Kanteh! I literally this second figured it out…

do u have added the component to the actor.
i think u have to connect it to the root or another component like u do it in the blueprints automaticly.

pComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("Pitch Dimension and Collision"));	
pComponent ->SetupAttachment(RootComponent);
pComponent ->SetBoxExtent(vDefaultDimensionPitch);
pComponent ->bHiddenInGame = false;
pComponent ->SetMobility(EComponentMobility::Stationary);