# Problems controlling \_X bondaries

**URL:** <https://forum.kirupa.com/t/problems-controlling--x-bondaries/201476>\
**Category:** flash\
**Created:** [September 21, 2006, 5:14pm UTC](https://forum.kirupa.com/t/problems-controlling--x-bondaries/201476 "2006-09-21T17:14:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanzellini](https://avatars.discourse-cdn.com/v4/letter/v/f08c70/32.png) [@vanzellini](https://forum.kirupa.com/u/vanzellini)\
**Post date:** [September 21, 2006, 5:14pm UTC](https://forum.kirupa.com/t/problems-controlling--x-bondaries/201476/1 "2006-09-21T17:14:07Z")

</div>

For some reason I am able to set the positive \_x bondary (1st If) but in the case of the 2nd one it will never execute after the objet \_x position is less than 2, any help?:-/

```auto
if (_root.nax_mc._x>=450){
  this.nax_mc.clickme_mc.clickme1_txt.text = "the fish is gone, Try again"
  onEnterFrame = null;
  gameOver();

 if (_root.nax_mc._x<2){
  this.nax_mc.clickme_mc.clickme1_txt.text = "2the fish is gone, Try again"
  onEnterFrame = null;
  gameOver();
  }
 }

```
