You can get it from the Character_BP you’re using, on tick you need to get the skeleton, get a socket ( either in world or component space ) and promote that to a variable.
To save to a txt file I’m not sure you can do it natively in Unreal, you may need to get a plugin that allows you to write the data to a cvs/txt file.
