change the detection range and position trigger