# origin

> The starting point of the ray in world space.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public Vector2 origin { get; set; }
```

### Remarks

Additional Resources: [Ray2D.direction](/engine/6000.0/script-reference/unityengine/ray2d/direction.md).
