# LineAlignment

> Control the direction lines face, when using the LineRenderer or TrailRenderer.

## Definition

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

```csharp
public enum LineAlignment
```

## Fields

| Value                                                                                 | Description                                       |
| ------------------------------------------------------------------------------------- | ------------------------------------------------- |
| [TransformZ](/engine/6000.0/script-reference/unityengine/linealignment/transformz.md) | Lines face the Z axis of the Transform Component. |
| [View](/engine/6000.0/script-reference/unityengine/linealignment/view.md)             | Lines face the camera.                            |
