# HARD Question : Z position impact on stage position

**URL:** <https://forum.kirupa.com/t/hard-question-z-position-impact-on-stage-position/318206>\
**Category:** flash\
**Created:** [January 13, 2011, 4:53am UTC](https://forum.kirupa.com/t/hard-question-z-position-impact-on-stage-position/318206 "2011-01-13T04:53:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rainman4500](https://avatars.discourse-cdn.com/v4/letter/r/ea5d25/32.png) [@Rainman4500](https://forum.kirupa.com/u/Rainman4500)\
**Post date:** [January 13, 2011, 4:53am UTC](https://forum.kirupa.com/t/hard-question-z-position-impact-on-stage-position/318206/1 "2011-01-13T04:53:23Z")

</div>

I have a sprite that I zoom out using the sprite.z property. Once the z property has been modified the sprite x and Y values do not match the stage x and y real value. So far so good and what I was expecting!

What I want to accomplish is that when the user clicks the stage the sprite tweens to where the mouse was clicked but I don’t know what x and y position to send to the sprite. ( since stage 200,200 is something like 400,400 for the sprite depending on z value)

I tried Utils3D.projectVector using Matrix3D of the perspectiveProjection of the stage without success. (i.e. I get Vector3D(Infinity, Infinity, NaN))

Any pointers?
