Took Me a Second

FString ObjectName = GetOwner()->GetName();
FString ObjectPos = GetOwner()->GetActorLocation().ToString();
UE_LOG(LogTemp, Warning, TEXT("%s is at %s!"), *ObjectName, *ObjectPos);

I understand that my solution is very similar to many others shared here in the course, though I would like to say it was a fun exercise and it took me longer than I’d care to admit to find the GetActorLocation() call.

I tried experimenting with a few others but all in all I feel that this solution is simple enough and thought that I’d share.

1 Like

Thanks! I used GetTransform() instead, which game me a lot of decimal numbers and not the sort of clear positioning data I wanted, so this was much better.