private void grab() { if (!isGrabbing && currentBlock != null) { Debug.Log("grabbing"); claw.isGrasping = true; isGrabbing = true; //clench that block BlockScript bs = currentBlock.GetComponent <BlockScript>(); if (bs != null) { bs.Grab(cranePulleyClawRigidBody); } } }