How To Know Mouse Position In Unity Engine 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);