Move a GameObject in mobile devices without raycasts

So I was searching for a code snippet for just moving a game object wherever I moved my finger without using raycasts and for my surprise there is none lol.

So here you go, just add this to a “FollowFinger.cs” script and attach it to any Game Object you want to move.