# How to select a target in a scene while dragging an image from the UI？

**URL:** <https://forums.unrealengine.com/t/how-to-select-a-target-in-a-scene-while-dragging-an-image-from-the-ui/449325>\
**Category:** Blueprint\
**Tags:** scene-capture-cube, details-panel-ui, unreal-engine, Blueprint, question\
**Created:** [May 21, 2019, 10:28am UTC](https://forums.unrealengine.com/t/how-to-select-a-target-in-a-scene-while-dragging-an-image-from-the-ui/449325 "2019-05-21T10:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a39e44af](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a39e44af](https://forums.unrealengine.com/u/anonymous_user_a39e44af)\
**Post date:** [May 21, 2019, 10:28am UTC](https://forums.unrealengine.com/t/how-to-select-a-target-in-a-scene-while-dragging-an-image-from-the-ui/449325/1 "2019-05-21T10:28:39Z")

</div>

I made a project where I dragged an image from the UI, put it on an object, and changed the material of the object.However, the problem I have now is that after I drag the image out of the scene, my object cannot be selected. How can I select the object in the scene while dragging?

---

<div class="post-metadata">

**Author:** ![Caroo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/caroo/32/1008955_2.png) [@Caroo](https://forums.unrealengine.com/u/Caroo)\
**Post date:** [May 21, 2019, 1:37pm UTC](https://forums.unrealengine.com/t/how-to-select-a-target-in-a-scene-while-dragging-an-image-from-the-ui/449325/2 "2019-05-21T13:37:59Z")

</div>

I guess there could be several solutions but the first I would try would be to make a line trace from your mouse cursor and from the hit result get the object.
