the function LineTraceSingleByChannel return true if we hit an object.
is it better to use the return value of this function in the “if” statement and not declare another variable?
FHitResult Hit;
if (GetWorld()->LineTraceSingleByChannel(Hit, Location, End, ECollisionChannel::ECC_GameTraceChannel1))
{
DrawDebugPoint(GetWorld(), Hit.Location, 20, FColor::Red, true);
}