MX - Quick question on if()else statement

On a button I want it to check the position of one of the mc’s and perform an action otherwise dont. This is what I have:


if(Main._x > 100){
  returnMain();
  returnContent();
  }
if(Main._x < 100){
  tweenMain();
  tweenContent();
}

Can you have to “if” statements back to back like that?
Or do i add an else statement like:


if(Main._x > 100){
  returnMain();
  returnContent();
  }
else(){
  tweenMain();
  tweenContent();
  }

??Not sure at all cuz neither work.

Thanks!