void OnTriggerStay(Collider other) { if (other.CompareTag(Tags.Player) && Input.GetButtonDown("Interact")) { PlayerItem playerItem = other.GetComponent <PlayerItem>(); if (!playerItem.hasItem) { playerItem.heldItem = gameObject; // Animation playerItem.PickUpAnimationStart(); boxColl[0].enabled = false; boxColl[1].enabled = false; rigidBody.isKinematic = true; } } }