Unity Engine documentationScript ReferenceUnityEngineVector2IntxX component of the vector.Read time 1 minuteLast updated 4 days agoDefinition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public int x { readonly get; set; }