How do I properly get the Transform of a player?

Hello, My code keeps giving me the error of “Unknown member vector3 in transform” (Line 34). I was wondering How do I properly get the Transform of a player, and how do I translate it to a vector3 if possible? And maybe even print the values.

What you want is to get the Translation member of the transform struct.

TransVector := TransPos.Translation