# CameraWaypoint
> A single point in a camera path with position, rotation, and timing.
`gg.lode.lecternapi.api.cutscene.CameraWaypoint`
---
## Signature
```java
public record CameraWaypoint(double x, double y, double z, float yaw, float pitch, float roll, int tick)
```
---
## Fields
| Field | Type | Description |
|---|---|---|
| `x` | `double` | World X coordinate. |
| `y` | `double` | World Y coordinate. |
| `z` | `double` | World Z coordinate. |
| `yaw` | `float` | Horizontal rotation (degrees). |
| `pitch` | `float` | Vertical rotation (degrees). |
| `roll` | `float` | Roll rotation (degrees). |
| `tick` | `int` | The tick at which the camera should reach this waypoint. |
---
## Usage
Waypoints are created via the `CameraPathBuilder`:
```java
.cameraPath(path -> path
.waypoint(Vec.of(100, 70, 200), 0, -10, 0, 0) // Position, yaw, pitch, roll, tick
.waypoint(Vec.of(150, 80, 250), 45, -5, 0, 60))
```
The client interpolates between waypoints based on their tick values.
---
## Related Pages
- [[CameraPath]] — Container for waypoints
- [[CameraInterpolation]] — How waypoints are interpolated
- [[Vec]] — Position helper