function getCurrentOffset(s) {
return s.split(",", 2).map((n) => Number(n.replace(/\D/g, "")));
}
function right2_m() {
const box = document.getElementById("box");
let [left, top] = getCurrentOffset(box.style.transform);
box.style.transform = `translate(${left+30}px,${top}px)`;
}
function bottom2_m() {
const box = document.getElementById("box");
let [left, top] = getCurrentOffset(box.style.transform);
box.style.transform = `translate(${left}px,${top+30}px)`;
}