How would I store both values in the FVector2D in this instance.
FVector2D ACppRadarHUD::GetDotPosition(AActor* Actor)
{
FVector2D ResultX;
ResultX = UKismetMathLibrary::InverseTransformLocation(UGameplayStatics::GetPlayerPawn(GetWorld(), 0)->GetActorTransform(), Actor->GetActorLocation()).X / ObjectDistanceScale;
+ UKismetMathLibrary::InverseTransformLocation(UGameplayStatics::GetPlayerPawn(GetWorld(), 0)->GetActorTransform(), Actor->GetActorLocation()).Y / ObjectDistanceScale;
return ResultX;
}