# How to move 3D objects with the mouse?

**URL:** <https://forums.unrealengine.com/t/how-to-move-3d-objects-with-the-mouse/457547>\
**Category:** Blueprint\
**Tags:** object-picker, actor-blueprint, unreal-engine, mouse-click, Blueprint, question\
**Created:** [October 25, 2019, 11:53pm UTC](https://forums.unrealengine.com/t/how-to-move-3d-objects-with-the-mouse/457547 "2019-10-25T23:53:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoonLunatic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moonlunatic/32/574631_2.png) [@MoonLunatic](https://forums.unrealengine.com/u/MoonLunatic)\
**Post date:** [October 25, 2019, 11:53pm UTC](https://forums.unrealengine.com/t/how-to-move-3d-objects-with-the-mouse/457547/1 "2019-10-25T23:53:31Z")

</div>

Hi,

I would like to use Blueprints to be able to move pieces of a puzzle with the mouse. Essentially clicking on a block, moving the block to a different place and drop it there.

I have been using the same method as the one in the example content (mouse interactions), using get hit results under cursor and updating the object location on event tick.

Functionally, it works, but there is a lot of performance lag. If I create a grid of 20 tiles on which to place my object, the object trails behind the cursor instead of sticking precisely to it when I move around. The faster I move around the more noticeable the lag.

Is there a better way to move a 3D actor than the method described ? Using blueprints only please.

---

<div class="post-metadata">

**Author:** ![Debaucher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/debaucher/32/482342_2.png) [@Debaucher](https://forums.unrealengine.com/u/Debaucher)\
**Post date:** [October 26, 2019, 12:00am UTC](https://forums.unrealengine.com/t/how-to-move-3d-objects-with-the-mouse/457547/2 "2019-10-26T00:00:09Z")

</div>

Instead of using event tick, try using the timer by event node set on a loop at .001 seconds. Make sure to create a reference to the timer handle when you create it and invalidate that timer handle when you drop the puzzle piece.

---

<div class="post-metadata">

**Author:** ![MoonLunatic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moonlunatic/32/574631_2.png) [@MoonLunatic](https://forums.unrealengine.com/u/MoonLunatic)\
**Post date:** [October 26, 2019, 10:14am UTC](https://forums.unrealengine.com/t/how-to-move-3d-objects-with-the-mouse/457547/3 "2019-10-26T10:14:50Z")

</div>

Thanks for the suggestion, I will try that approach
