# Left Mouse button pressed and released equivalent in enhanced input (or drag and drop)

**URL:** <https://forums.unrealengine.com/t/left-mouse-button-pressed-and-released-equivalent-in-enhanced-input-or-drag-and-drop/1633884>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [January 22, 2024, 9:02am UTC](https://forums.unrealengine.com/t/left-mouse-button-pressed-and-released-equivalent-in-enhanced-input-or-drag-and-drop/1633884 "2024-01-22T09:02:40Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:** [February 8, 2024, 9:31am UTC](https://forums.unrealengine.com/t/left-mouse-button-pressed-and-released-equivalent-in-enhanced-input-or-drag-and-drop/1633884/17 "2024-02-08T09:31:11Z")

</div>

> [@ViaCognita](#):
>
> I don’t understand what it is a Line Plane Intersection, and why you mention the floor. In the code it seems that you use a line trace to the block, not to the floor.

You asked an additional question:

> How can I move it only in ZY Plane?

`Line Plane Intersection` allows you to create a virtual plane anywhere and trace against it so you do not need to rely on geometry. To visualise it:

> [@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) …

---

_[View the full topic](https://forums.unrealengine.com/t/left-mouse-button-pressed-and-released-equivalent-in-enhanced-input-or-drag-and-drop/1633884)._
