how to check where the mouse is in 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);