On over events not working while dragging widget

Ghostly.xyz
Fri, 30 Aug 2024 16:00:05 +0000
Blueprint

Hi i’m trying to make a widget that when is dragget onto a specific floor actor it spawns another actor.

in the floor actor (tile) i put a event on begin over to get the position of the tile, i also set a boolean to tell the widget if i’m over it or not with the cursor.

in the widget blueprint i have the On Drag Canceled event that when the widget is released checks if the cursor is over the tile with the boolean.

The problem is that the boolean will be always false while dragging because the HoverBegin event doesn’t start while dragging. How can i make the event work while dragging? Thanks

Tile and Widget blueprints:

8 posts - 2 participants