Move object along x with mouse?

Hi, if i were to move an object along the x axis with my mouse position, just like moving an object with gizmo does. How does one do that?`
I have been trying a long time now, but no luck

Appricate any help, thanks :slight_smile:

1 Like

I understand how to do trace and etc, one can even do it with a simple cursor linetrace, i have also tried doing it this way, with world location from mouse but it seems to give me some wierd moving often

I could just be doing something wrong, any chance that you/anyone else might give me some samples on how to set it up?`

Let me know if you want some of my blueprint that i currently have tried :slight_smile:

Here is my example, I made a pan mode for the camera by using mouse position