It’s the same as with x
if ( ! (x>width/2-150 && x<width/2+150 && y>height/2+150 && y height/2 + 150) ) {