Need help with onclick scale script (c#)

I have a script for when i click the object expands in the x axis and once i let go it reduces back to the original size.

CODE

using UnityEngine;
using System.Collections;

public class Player : MonoBehaviour {
	public float speed = 10;
	// Use this for initialization
	void Start () {

	
	}
	
	// Update is called once per frame
	void Update () {
		if (Input.GetMouseButtonDown (0)) {
			transform.localScale = transform.localScale + Vector2.Scale * speed * Time.deltaTime;
			new Vector2(5.358479f, 0.5769206f);
		}
		
	}
}

For the GameObject to go back to its original scale, you’d have to do something like this:

using UnityEngine;
using System.Collections;

public class Player : MonoBehaviour
{
    public float speed = 10;
    private Vector3 originalScale;

    void Start()
    {
        originalScale = transform.localScale;
    }

    void Update()
    {
        if (Input.GetMouseButtonDown(0))
        {
            transform.localScale = transform.localScale + Vector2.Scale * speed * Time.deltaTime;
        }
        
        if (Input.GetMouseButtonUp(0))
        {
             transform.localScale = originalScale;
        }
    }
}

This way if you change the scale of the GameObject in the Inspector, it’ll retain that scale when you let go of the mouse button.