Drag and Drop Widget into Vertical Box

Hi,

I want my game to allow the host to drag and drop players into their desired teams. I have everything working but I originally tried using ‘Is Hovered’ on the Vertical Boxes representing each team, only to discover that it doesn’t work if the mouse button is down (I.e. while dragging). Next I tried to get the geometry of the vertical boxes to use with ‘Is Under Location’, but the only way I could find to get the geometry of the vertical boxes is via ‘Get Cached Geometry’. The problem is the tooltip and documentation for ‘Get Cached Geometry’ says “We recommend not to use this data unless there’s no other way to solve your problem”. The vertical boxes don’t ever move, so I think the cached data should be correct. So if I’ve correctly understood what the documentation is saying then I don’t think this will be a problem in my case.

But just in case my question is, is there another/better way to do this without using ‘Get Cached Geometry’?

Here’s what I have at the moment:

Thanks

1 Like