I need to specify a range of x, y coordinates on a touch screen ie, if a touch event occurs between pixels x100 and x150 and y500 and 450 then something happens.
I have tried the following
if $i1 > 100 || $i1 < 150 then $i1
This seems to do nothing to the incoming integer. Is there a "between" type function for the if object?