screenGetPosition(screen:)

    Returns the screen’s top-left corner position in pixels. On multi-monitor setups, the screen position is relative to the virtual desktop area. On multi-monitor setups with different screen resolutions or orientations, the origin may be located outside any display like this:

    DisplayServer.swift:3678
    static func screenGetPosition(screen: Int32 = -1) -> Vector2i

    See also screenGetSize(screen:).

    Other members in extension

    Types

    Type members