let activeBumpHit = true;
document.addEventListener('keydown', function (e) {
if (e.keyCode === 90) {
activeBumpHit = false;
bump.hit(params)
}
});
bump.hit(gopnik, activeBlocks, activeBumpHit, false, false, function (collision, activeBlock) {
...
}