# Can't get enemy hero z position

**URL:** <https://discourse.codecombat.com/t/cant-get-enemy-hero-z-position/950>\
**Category:** Solved\
**Created:** [June 26, 2014, 7:11am UTC](https://discourse.codecombat.com/t/cant-get-enemy-hero-z-position/950 "2014-06-26T07:11:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darksteel](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@darksteel](https://discourse.codecombat.com/u/darksteel)\
**Post date:** [June 26, 2014, 7:11am UTC](https://discourse.codecombat.com/t/cant-get-enemy-hero-z-position/950/1 "2014-06-26T07:11:50Z")

</div>

One of the ways I’m trying to detect jump in Dungeon Arena is based on the z value. Their position co-ordinates store z but when I try to check it, it fails. If I ever try to say it, that fails with the error “say what?”. If I say the entire .pos co-ordinate, I get the z position in the array.

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [June 26, 2014, 8:14pm UTC](https://discourse.codecombat.com/t/cant-get-enemy-hero-z-position/950/2 "2014-06-26T20:14:16Z")

</div>

All right, all right, I’ll add `z` the Vector’s API; should go live with the next deploy.
