Unity Engine documentationScript ReferenceUnityEngineRayoriginThe origin point of the ray.Read time 1 minuteLast updated 4 days agoDefinition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public Vector3 origin { get; set; }