# How can I stop the button image from being dragged, and only the image?

**URL:** <https://forums.unrealengine.com/t/how-can-i-stop-the-button-image-from-being-dragged-and-only-the-image/484401>\
**Category:** Editor Scripting\
**Tags:** drag, inventory, unreal-engine, UI, question\
**Created:** [June 4, 2021, 7:02am UTC](https://forums.unrealengine.com/t/how-can-i-stop-the-button-image-from-being-dragged-and-only-the-image/484401 "2021-06-04T07:02:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BluAstronaut](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BluAstronaut](https://forums.unrealengine.com/u/BluAstronaut)\
**Post date:** [June 4, 2021, 7:02am UTC](https://forums.unrealengine.com/t/how-can-i-stop-the-button-image-from-being-dragged-and-only-the-image/484401/1 "2021-06-04T07:02:23Z")

</div>

![340626-survival-project-unreal-editor-3-06-2021-4-54-23-p.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/e/24ececc02017b38e669066567adb2e19c0fa1107.jpeg)

I’m trying to make a drag and drop system, and when I drag an item, it grabs the background as well, how can I prevent this?

---

<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:** [June 4, 2021, 7:18am UTC](https://forums.unrealengine.com/t/how-can-i-stop-the-button-image-from-being-dragged-and-only-the-image/484401/2 "2021-06-04T07:18:40Z")

</div>

You’re using _Self_ for for Drag Visual - so that’s what you get. If you hover over that pin, the tooltip will tell you that normally you’d create a new widget to represent what you’re dragging. It’s a neat solution if you want a more advanced behaviour:

 ![340627-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/b/afb497e0478cd6179854ec229409b4b3dcaba759.png)

This way you can have an animated drag & drop with all the bells and whistles in the world. If you’re after something simpler, you could just plug something else that’s relevant, the icon perhaps?

 ![340628-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/c/8fc154fbf0c9f0f7c1417a0e7aeedb0b0187b6ad.png)
