private void OnTriggerEnter2D(Collider2D collision)
 {
     Debug.Log("exit");
     if (collision.tag == "Player")
     {
         bool opend = itembag.UseKey();
         if (opend)
         {
             gameObject.GetComponent <SpriteRenderer>().sprite = ChestOpened;
             if (!isLooted)
             {
                 itembag.pickupHP();
                 isLooted = true;
             }
         }
     }
 }