block.onmouseover = function () { if (block.busy) return; block.busy = true; animateProp(....) block.busy = false; }