get cursor position unity 3D 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);