Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


mainWindowPosition

The position of the top left corner of the main window relative to the top left corner of the display.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Vector2Int mainWindowPosition { get; }

Remarks

This API is only supported on Linux, macOS and Windows Standalone.