Mmain(doc,op) { var dist_x=cursor.x-curpos.x; curpos.y+=dist_x%bmultiply; }