But something i couldnt undrestand:
When i wanted to print only the X value i was sayng Pos.X.ToString() but i got and error, it only brings back a float.
floats don’t have a .ToString() method. But you can log floats directly, you don’t need to convert to a string. Just use the %f format specifier instead of %s.
In your code: FString ObjectPos = FString::SanitizeFloat(Pos.X);
So you have to go from the FString class which has a converter for floats. I expect some things are like this: if the converter you are looking for isn’t on what you are converting FROM check and see if there is a converter on what you are converting TO. And in a pinch there is always google, stackoverflow, or answers.unrealengine.com