How to make a sprite/gameobject follow your finger on Android?

I am making a sort of Airhockey game, where I want to make the thing with which you hit the puck follow your finger’s position, but I can’t get it to work. Does anyone of you know how to do this? (Only that one gameobject of the player will move via input, nothing else needs to)

Check this: https://docs.unity3d.com/Documentation/Manual/NavmeshandPathfinding.html
and check sublinks also.