public void OnPointerEnter(PointerEventData eventData)
 {
     sectorScript = this;
     invenGridManager.highlightedSlot = slotParent;
     PosOffset();
     if (ItemScript.selectedItem != null)
     {
         invenGridManager.RefrechColor(true);
     }
     if (parentSlotScript.storedItemObject != null && ItemScript.selectedItem == null)
     {
         invenGridManager.ColorChangeLoop(SlotColorHighlights.Blue, parentSlotScript.storedItemSize, parentSlotScript.storedItemStartPos);
     }
     if (parentSlotScript.storedItemObject != null)
     {
         overlayScript.UpdateOverlay(parentSlotScript.storedItemClass);
     }
 }
    //*** rework the add item to list
    // make a proper add item to list with sort and filter in mind

    private void Update()
    {
        if (Input.GetMouseButtonDown(1) && invenManager.selectedButton != null) //right click to return item to list if item is from list
        {
            invenManager.RefrechColor(false);
            invenManager.selectedButton.GetComponent <CanvasGroup>().alpha = 1f;
            invenManager.selectedButton = null;
            itemEquipPool.ReturnObject(ItemScript.selectedItem);
            ItemScript.ResetSelectedItem();
        }
    }
    private void Update()
    {
        if (Input.GetMouseButtonDown(0) && Input.mousePosition.x > GetComponent <Transform>().position.x) // drop item back
        {
            if (invenManger.selectedButton == null && ItemScript.selectedItem != null)                    //dropping back from ivenGrid
            {
                itemList.Add(ItemScript.selectedItem.GetComponent <ItemScript>().item);
                AddButton(ItemScript.selectedItem.GetComponent <ItemScript>().item);// shorten later
                itemEquipPool.ReturnObject(ItemScript.selectedItem);
                ItemScript.ResetSelectedItem();
            }
        }

        if (Input.GetMouseButtonDown(1) && invenManger.selectedButton != null) //delesect selected item and button  by right-click
        {
            invenManger.RefrechColor(false);                                   // not refresh color to blue when mouse is non top of occupied slot after putting back itemEquip
            invenManger.selectedButton.GetComponent <CanvasGroup>().alpha = 1f;
            invenManger.selectedButton = null;
            itemEquipPool.ReturnObject(ItemScript.selectedItem);
            ItemScript.ResetSelectedItem();
        }
    }