# X and Y axis question

**URL:** https://forum.kirupa.com/t/x-and-y-axis-question/208051
**Category:** flash
**Created:** [November 24, 2006, 10:39am UTC](https://forum.kirupa.com/t/x-and-y-axis-question/208051 "2006-11-24T10:39:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Beaulne](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/beaulne/32/3027_2.png) [@Beaulne](https://forum.kirupa.com/u/Beaulne)
#### Post date: [November 24, 2006, 10:39am UTC](https://forum.kirupa.com/t/x-and-y-axis-question/208051/1 "2006-11-24T10:39:30Z")

</div>

Hello,

So what I would like to know is the following…

I want to gotoAndStop(2); If image\_btn is greater then say 300 on the X axis… But i am not sure how to go about doing this because i am just starting out in actionscript…

I know it has to be something like this…

[SIZE=1]if (image\_btn \>= \_x(300)){[/SIZE] // Im not sure how to punch in the \_x axis…  
[SIZE=1] gotoAndStop(2);  
}else{  
gotoAndStop(3);  
}

so if you can help me I would be very happy!  
[/SIZE]
