create action on touch release

I am loking to get an action of my model moving forward on finger release of the screen

can anyone help, this is my code so far and it only works if i hold the screen, i want it to work when you remove your finger from the screen.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class tap : MonoBehaviour
{
    public float moveSpeed = 5.0f;
    public float drag = 0.5f;
    public Rigidbody controller;
    public GameObject player;
    public float speed;
    public float boost;
    public float damp;




    private void Start()


    {
        controller = GetComponent<Rigidbody>();
        controller.drag = drag;
    }
    private void Update()
    {

        if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Stationary)
        {
            Vector2 touchPosition = Input.GetTouch(0).position;


            player.transform.Translate(Vector3.forward * 5 * Time.deltaTime);

        }

        Vector3 dir = Vector3.zero;
        dir.x = Input.GetAxis("Horizontal");
        dir.z = Input.GetAxis("Vertical");
        if (dir.magnitude > 1)
            dir.Normalize();
        controller.AddForce(dir * moveSpeed);
    }
}

public bool move;

if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Ended)
{
move = !move;
}

if(move)
         {
             player.transform.Translate(Vector3.forward * 5 * Time.deltaTime);
         }