title: OnPointerEnter() function not working properly
body: <p>I am creating an inventory system in Unity, and I have been baffled by a troublesome enigma. The OnMouseEnter function fails to execute when I drag the item in my inventory system back to previous slots. I have used the Control Double keyboard short cut to create three slots. They are named "Slot", "Slot(1)", and "Slot2". <strong>When I drag my item to Slot(1), I can't drag it back to the first slot, "Slot". When I drag my item to Slot(2), I can't drag it to my second slot, "Slot(1)".</strong> I have noticed that the OnPointerEnter() method does not get called when I try to drag the item from "Slot(2)" to "Slot(1)" or "Slot". Why is that?</p>
  
  <p>This inventory moving script is supposed to work by <strong>setting the parent of the item to the slot that the mouse is dragging to and then positioning it to Vector3.Zero in local position</strong>. The InventoryController script is attached to the <strong>UIImage</strong>, inventory, the SlotController script is attached to the <strong>UIImage</strong>, Slot, and the Item script is attached to the <strong>UIImage</strong>, Item. My Hierarchy, Inspector, and Scripts are below in images. Thank you for helping me in advanced!</p>
  
  <p><a href="https://i.stack.imgur.com/AYY3H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AYY3H.png" alt="Item Script"></a></p>
  
  <p><a href="https://i.stack.imgur.com/QrRq0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QrRq0.png" alt="SlotController Script"></a></p>
  
  <p><a href="https://i.stack.imgur.com/EMAQY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EMAQY.png" alt="InventoryController Script"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ncS09.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ncS09.png" alt="Game View"></a></p>