CS0103 ‘Transform’ does not contain a definition for ‘mousePosition’ and no accessible extension method ‘mousePosition’ [closed]

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Bird : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        GetComponent<Rigidbody2D>().isKinematic = true;
    }

    void OnMouseDown()
    {
        GetComponent<SpriteRenderer>().color = Color.blue;
    }

    void OnMouseUp()
    {
        GetComponent<SpriteRenderer>().color = Color.white;
    
    }


    void OnMouseDrag()
    {

        Vector3 mousePosition =  Camera.main.ScreenToWorldPoint(Input.mousePosition);
        transform.mousePosition = new Vector3(mousePosition.x, mousePosition.y, transform.position.z);
    }


  
  
    // Update is called once per frame
    void Update()
    {
       
    }
}