Unity Engine documentationScript ReferenceUnityEngineColliderHitinstanceIDThe instance ID of the Collider that was hit.Read time 1 minuteLast updated a month agoDefinition Type: Property Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule public int instanceID { get; }