Unity Engine documentationScript ReferenceUnityEngineRectIntsizeReturns the width and height of the RectInt.Read time 1 minuteLast updated a month agoDefinition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public Vector2Int size { get; set; }