mouse.current.position unity code example
Example: how to find the mouse position unity
Vector2 mousePosition = new Vector2(Input.mousePosition.x, Input.mousePosition.y);
Vector2 mousePosition = new Vector2(Input.mousePosition.x, Input.mousePosition.y);