# Shoot at mouse location

**URL:** <https://forums.unrealengine.com/t/shoot-at-mouse-location/251434>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 18, 2021, 4:53pm UTC](https://forums.unrealengine.com/t/shoot-at-mouse-location/251434 "2021-09-18T16:53:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [September 21, 2021, 6:44pm UTC](https://forums.unrealengine.com/t/shoot-at-mouse-location/251434/4 "2021-09-21T18:44:16Z")

</div>

> [@pezzott1](#):
>
> You could create a plane big enough that will only collide with your trace and have the hit location as your point to look at or you could calculate per click with some creative math.

This. But you do not need to actually create a physical plane - the creative math bit works.

Have a look here:

> [@Line Trace from a 3d point to mouse location](https://forums.unrealengine.com/t/line-trace-from-a-3d-point-to-mouse-location/237661/3):
>
> You’re tracing with a fixed distance of 500, replacing the projection’s X with a fixed value. It’s actually hard to imagine how that would look like, a strangely distorted / twisted undulating surface mayhaps? cool, for sure. I want this trace to stay on the same plane as my character, so the X value of the start point & end point should be the same. Consider the following: green_circle create a virtual plane where the character is and point it towards X (Plane Normal 1,0,0) …

Imagine the dude is the ship, the camera is above. Now that you have a location on the _plane_, you can Find Look at Rotation.

---

_[View the full topic](https://forums.unrealengine.com/t/shoot-at-mouse-location/251434)._
