private void checkBlocking(bool block)
 {
     if (block == false && isLastAnimBlock == true)
     {
         isLastAnimBlock = false;
         core.changeBlocking(false);
     }
     if (block == true && isLastAnimBlock == false)
     {
         isLastAnimBlock = true;
         core.changeBlocking(true);
     }
 }