# UI drag and drop at a specific location in the 3d world.

**URL:** <https://forums.unrealengine.com/t/ui-drag-and-drop-at-a-specific-location-in-the-3d-world/676587>\
**Category:** UI\
**Tags:** unreal-engine, UE5-0, Widget, question, Blueprint, UMG\
**Created:** [October 25, 2022, 9:12am UTC](https://forums.unrealengine.com/t/ui-drag-and-drop-at-a-specific-location-in-the-3d-world/676587 "2022-10-25T09:12:52Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 26, 2022, 7:53am UTC](https://forums.unrealengine.com/t/ui-drag-and-drop-at-a-specific-location-in-the-3d-world/676587/8 "2022-10-26T07:53:51Z")

</div>

> [@DheerajR47](#):
>
> I want the 3d model to snap to the cards on the board (slots).

- cards in hand are 2d widgets
- a 3d card could be an extended **W** idget **C** omponent (the method is [here](https://forums.unrealengine.com/t/steam-trading-card-hover-effect/250907/3)); or, ideally, an actor with extended WC. The actor would handle the player / board interaction and the attached WC would handle card logic.
- the board is an actor with a collision volume reacting to traces (the post I linked above)
- the card actors can be spawned dynamically and attached to the abovementioned volume. They don’t need to be attached but I feel it could make things easier in the long run.
- I would not use _slots_ for this - the board card distribution & snapping should be done mathematically in the board actor, you could get away with a clamped vector snapping for something simplistic for now, only to refactor it later once you know how many rows, columns there can be and what the rules of the game are. If you go with slots, you will still need to find a solution to distribute slots - so why bother. Unless slots are static, in the attached pics they are not, it seems.

---

_[View the full topic](https://forums.unrealengine.com/t/ui-drag-and-drop-at-a-specific-location-in-the-3d-world/676587)._
