Function OSSingleton.getScreenPosition

Returns the position of the specified screen by index. If screen is /code-1/code (the default value), the current screen will be used.

Vector2 getScreenPosition (
  const(long) screen = -1L
) nothrow @nogc const;