- // console.log("touchMove",touch.id," at ",touch.y,touch.x);
- knob.x=touch.x;
- knob.y=touch.y;
+ // console.log("touchMove",touch.id," at ",touch.y,touch.x);
+ if((touch.x<width) && (touch.x>0)) knob.x=touch.x;
+ if((touch.y<height) && (touch.y>0))knob.y=touch.y;