# FMX: Help my "if" statement not working

**URL:** <https://forum.kirupa.com/t/fmx-help-my-if-statement-not-working/68507>\
**Category:** flash\
**Created:** [October 26, 2004, 3:00pm UTC](https://forum.kirupa.com/t/fmx-help-my-if-statement-not-working/68507 "2004-10-26T15:00:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wjc78](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@wjc78](https://forum.kirupa.com/u/wjc78)\
**Post date:** [October 26, 2004, 3:00pm UTC](https://forum.kirupa.com/t/fmx-help-my-if-statement-not-working/68507/1 "2004-10-26T15:00:38Z")

</div>

Why does the if,else part of this statement not work? Is it because of the way I wrote the if condition?? This should be so simple not sure why I can’t make it work…

onClipEvent (enterFrame) {  
\_y += (yMove-\_y)/easeSpeed;  
if (\_xmouse\>=110 & \_xmouse\<=370 & \_ymouse\>=465 & \_ymouse\<=640) {  
gotoAndPlay(“intro”);  
} else {  
gotoAndPlay(“mid”);  
};  
}
