# How can I get the current tcp pose of the robot (X,Y,Z) using a python script?

**URL:** <https://forum.universal-robots.com/t/how-can-i-get-the-current-tcp-pose-of-the-robot-x-y-z-using-a-python-script/24524>\
**Category:** Technical Questions\
**Created:** [October 20, 2022, 8:34am UTC](https://forum.universal-robots.com/t/how-can-i-get-the-current-tcp-pose-of-the-robot-x-y-z-using-a-python-script/24524 "2022-10-20T08:34:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon17993442](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@anon17993442](https://forum.universal-robots.com/u/anon17993442)\
**Post date:** [October 20, 2022, 8:34am UTC](https://forum.universal-robots.com/t/how-can-i-get-the-current-tcp-pose-of-the-robot-x-y-z-using-a-python-script/24524/1 "2022-10-20T08:34:51Z")

</div>

I know about “get\_actual\_tcp\_pose()” function, but I get the result encoded and I am having problems decoding it.

I hope someone can lend me a hand, Thanks!
