how to get moue pos in unity code example
Example: get mouse position unity
Vector3 worldPosition = Camera.main.ScreenToWorldPoint(Input.mousePosition);
Vector3 worldPosition = Camera.main.ScreenToWorldPoint(Input.mousePosition);