Help Gcode

Hello everyone!
I looking for a way to recover the gcode the position of the machine , do you make this possible ??
thank you

Can you explain it a bit differently. “Gcode position of the machine” part I do not understand.
The Gcode is the text file that is parsed by the Gshield and converted to commands for the steppers to move to those positions.