---
title: origin
framework: spatial
role: symbol
role_heading: Instance Property
path: spatial/ray3d/origin
---

# origin

The origin of the ray.

## Declaration

```swift
var origin: Point3D
```

## See Also

### Inspecting a 3D ray’s properties

- [direction](spatial/ray3d/direction.md)
