//If the player is trying to shove objects through the map, make them drop it. void DropIt(GameObject drop) { DragDrop dropMe = drop.GetComponent <DragDrop>(); if (dropMe) { dropMe.Drop(); } }