Ejemplo n.º 1
0
        public static Vector2 GetMousePosition()
        {
            POINT mousePosition = new POINT();

            GetCursorPos(out mousePosition);

            return(mousePosition.ToVector());
        }