I want to make a car select screen for my game. I can move camera with mouse around my car. Camera moves only when I hold the mouse button. When I release mouse button, camera stops instantly. But I want to stop camera slowly. I don't want to use Cinemachine. So, how can I stop my camera slowly when I release the mouse button? This is the code I am currently using:

```
public class MenuCameraMovement : MonoBehaviour

public Transform car;
private float sensitivity = 2f;

private void Update()
{
    if (Input.GetMouseButton(0))
    {
        float rotateHorizontal = Input.GetAxis("Mouse X");
        float rotateVertical = Input.GetAxis("Mouse Y");

        //For rotating
        transform.RotateAround(car.transform.position, Vector3.up, rotateHorizontal * sensitivity);

        //No need vertical rotation
        //transform.RotateAround(Vector3.zero, transform.right, rotateVertical * sensitivity);

    }
}

```