How to print on screen the transform of an actor?

I’m sorry, I may need it to be more specific. Here is the attempt again:

SetActorTransform(NewPosition);
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Red, 
	FString::Printf(TEXT(FTransform::ToString(NewPosition))));

The I get is on TEXT which says: name followed by “::” must be a class or namespace name

1 Like