Rotate player to LookAt a touch position

Hey everyone, I am currently developing a top down 3D game where I need to rotate my players position in the Y direction to LookAt a touch position. I assume that the problem I am having has to do with changing my touch position into a Vector3 then applying it to the LookAt function. I have searched pretty thoroughly online but have still yet to find an solution to my problem. Any help would be greatly appreciated! Thanks!

`
void Update()
{

    if(Input.touchCount > 0)
    {
        Vector3 touchPos = Input.GetTouch(0).position;
        touchPos.z = 0.0f;
        player.transform.LookAt(touchPos);
    }

}

`

Convert the touch position from screen to world space:

Can you share the script @jamesar ? I have similar problem and triled evrything.