document.body.onmousedown = function() {
ctx.clearRect(h.x, h.y, h.w, h.h);
ctx.fillStyle = "#ffffff";
ctx.fillText("name", h.x + 3, h.y + 100);
h.x = cx;
h.y = cy;
ctx.fillStyle = "#000000";
ctx.fillRect(h.x, h.y, h.w, h.h);
ctx.fillText("name", h.x + 3, h.y + 100);
}