# Moving actor using mouse at specific Z at runtime

**URL:** <https://forums.unrealengine.com/t/moving-actor-using-mouse-at-specific-z-at-runtime/666754>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [October 11, 2022, 12:56am UTC](https://forums.unrealengine.com/t/moving-actor-using-mouse-at-specific-z-at-runtime/666754 "2022-10-11T00:56:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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 11, 2022, 9:12am UTC](https://forums.unrealengine.com/t/moving-actor-using-mouse-at-specific-z-at-runtime/666754/3 "2022-10-11T09:12:47Z")

</div>

> [@Apleplectic](#):
>
> I don’t really know how Convert Mouse Location To World Space works, nor do I understand dot products or line traces work. Thanks for the help!

You will need it sooner rather than later - I’d dig into it right now if I were you. But you can also do this for something truly simplistic:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/3/6e3470562acb5e7aaba030662b51724220f12935.png)

Just make sure the actor does not block Visiblity:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/1/09140a8724339e48670729cc38cbd2a98b00e67c.png)

---

_[View the full topic](https://forums.unrealengine.com/t/moving-actor-using-mouse-at-specific-z-at-runtime/666754)._
