As seen below, I just used GetOwner()->GetActorLocation() instead of creating a function. Why would I want to build a function?
Thank you!
FVector LineTraceEnd = GetLineTraceEnd();
FHitResult Hit;
// Ray-cast out to a certain distance (reach)
FCollisionQueryParams TraceParams(FName(TEXT("")), false, GetOwner());
GetWorld()->LineTraceSingleByObjectType
(
OUT Hit,
GetOwner()->GetActorLocation(),
LineTraceEnd,
FCollisionObjectQueryParams(ECollisionChannel::ECC_PhysicsBody),
TraceParams
);
return Hit;