# On Drag Cancelled not firing after removing widget from parent and readding it.

**URL:** <https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708>\
**Category:** Blueprint\
**Tags:** unreal-engine, Event, bug-report, Blueprint, question\
**Created:** [March 25, 2026, 12:45am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708 "2026-03-25T00:45:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 12:45am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/1 "2026-03-25T00:45:51Z")

</div>

When I call this function during a drag operation the on drag cancelled event doesn’t fire when the mouse is released. Is there a workaround or am I doing something wrong

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/8/9481de44484f9cc904a45e040879ba1b4c54a42a.png)

the widget with the on drag cancelled event is a child of the card overlay which is a separate widget

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 12:51am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/2 "2026-03-25T00:51:41Z")

</div>

Try print string in a loop. ”Hello”.

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 1:26am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/3 "2026-03-25T01:26:14Z")

</div>

how is this supposed to help? The on drag cancelled event doesn’t fire when the widget is removed from the parent widget but works fine if it isn’t removed from the parent. also starts working fine again on a new drag and drop operation as long as it is not removed from the parent

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 1:35am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/4 "2026-03-25T01:35:11Z")

</div>

Why would you remove it from the parent?

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 1:39am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/5 "2026-03-25T01:39:53Z")

</div>

to rearrange the widgets since the last added child shows on top of the first added child

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 1:48am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/6 "2026-03-25T01:48:15Z")

</div>

So, card active hand list has proper order?

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 1:55am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/7 "2026-03-25T01:55:08Z")

</div>

yes. The function listed above is also simplified currently. If I knew how to share the project I could let you take a look

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 1:57am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/8 "2026-03-25T01:57:47Z")

</div>

Instead of removing the child from the parent, maybe there is a “rearrange child positions“ from Card overlay.

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 2:04am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/9 "2026-03-25T02:04:12Z")

</div>

the overlay only has a variety of get, clear, remove, has, or add child. nothing on rearranging

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 2:13am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/10 "2026-03-25T02:13:25Z")

</div>

So, you call clear children from the parent to this child widget that is going to be removed?

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 2:18am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/11 "2026-03-25T02:18:24Z")

</div>

parent which is the (card hand) clears the children (each child is a separate card widget) the card widget has the drag and drop event Ie(on drag cancel)

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 2:21am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/12 "2026-03-25T02:21:42Z")

</div>

Where do you actually remove the child from parent? Show it.

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 2:29am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/13 "2026-03-25T02:29:12Z")

</div>

function that removes children

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/2/672ac5b1e040b55e880ae953981a47112e53daf9.png)

Card Overlay is the parent (there is no children assigned as they are assigned at runtime

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/1/b2188fc5c997f9d2d7339d2a77edc8bb614a8301.png)

function that adds children to the card overlay

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/b/61b4eafbe103dbd2696965bce24cce6e03ac4d74.png)

I’m a little Confused what your asking?

full picture of cardHand

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/e/dcec2d1d2fa0b8e216d09f02bdc5bc86d4fef9a0.png)

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 2:36am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/14 "2026-03-25T02:36:54Z")

</div>

event on card widget that not firing when function on first post is ran

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/9/5b95ae8c9bc9cd63ba24d70cd27eb957767db4e1.png)

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 2:40am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/15 "2026-03-25T02:40:41Z")

</div>

I dont see “update widget refrences” being called on canceled.

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 2:44am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/16 "2026-03-25T02:44:59Z")

</div>

its not because the issue is that the on dragged canceled event is not firing after I run update widget references during the drag event

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 2:46am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/17 "2026-03-25T02:46:48Z")

</div>

Ok, show me where you call update widget refrences.

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 2:55am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/18 "2026-03-25T02:55:39Z")

</div>

function that starts the drag and drop (Card Widget)

 ![Screenshot 2026-03-24 214817](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/1/151501c5ebd78fdc6c03645bd5e66dc0ca82ee90.png)

on drag start sets currently dragging to true (Card Hand Widget)

 ![Screenshot 2026-03-24 215020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/4/a2434a75314d9866a63f752265a1fede6a0307ad.png)

Change Card Positions function call update references (card Hand Widget

 ![Screenshot 2026-03-24 214949](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/8/228297f1db5e17872d71cdc04de0af1bd0fa88e1.png)

![Screenshot 2026-03-24 214927|690x0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/0/2d011fddd089b6b6fd99004be7877367a2dbbed5.png)

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [March 25, 2026, 3:05am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/19 "2026-03-25T03:05:39Z")

</div>

If you call “update widget references“ (thus removing the children) it will never trigger on canceled because you removed those children that are trying to check something.

---

<div class="post-metadata">

**Author:** ![Roaringleagend45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roaringleagend45](https://forums.unrealengine.com/u/Roaringleagend45)\
**Post date:** [March 25, 2026, 3:25am UTC](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708/20 "2026-03-25T03:25:49Z")

</div>

I get that. that is why I pointed out the function in the beginning. I was looking for an alternative to it. I should point out I am following a video lossly so it works in UE 4 versions but doesn’t work in UE 5 Versions (running version 5.5.2)

[Next page](https://forums.unrealengine.com/t/on-drag-cancelled-not-firing-after-removing-widget-from-parent-and-readding-it/2708708.md?page=2)
