How to initiate a subclass of AActor with FHitResult?

HitResult.GetActor() returns an AActor, not AInteractableObj.

you’ll need to cast to AInteractableObj to use the Activate() function.

InteractableObj = Cast<AInteractableObj>(HitResult.GetActor());