what's wrong with this "if" block?

if ((x=> target.boxX)&&(x=< (target.boxX +target.boxW))&&(y=> target.boxY)&&(y=<target.boxY + target.boxH)) {
             
         }

getting all manner of exceptions (mostly expecting “;”) thrown up by this one, can someone give me some pointers please?

cheers

“>=” not “=>”

thanks for the quick reply, that worked (not that there are any surprises there :P)

There’s also that =< there, but assumedly you already replaced it with a <=.

Think LESS THAN or EQUAL TO - it appears in that order.