7LNWWIKN6TIXNZEJJPRFOQPAF7FOFX2J6T5Q47MZ6H5456SHA6NAC
const signX = Math.sign(position.x - starttouch.x);
const signY = Math.sign(starttouch.y - position.y);
const value = {
x: position.x - starttouch.x,
y: starttouch.y - position.y,
};
value.x = Math.abs(value.x) < Math.abs(value.y) ? 0 : value.x;
value.y = Math.abs(value.x) >= Math.abs(value.y) ? 0 : value.y;