Touch, move object in one axis

I’m been searching for a wile,

The start point is: I touch the screen, then, the object of the screen move to that point. PERFECT.

But I want that the object only changes in the x-axis, the y-axis don’t change.

I found some good stuf for worrking in:

But I’, still wondering how to do it.

Thanks

You provided the answer yourself already. Dont change the y-axis position of your object!

Now that you say it , I see it. thanks
:sweat_smile:
and was useful to, undestand the terms: WorldToScreenPoint and ScreenToWorldPoint